From dff18f5899316543b2d50cd7949d250a33007478 Mon Sep 17 00:00:00 2001 From: Michael Jolley Date: Thu, 21 Sep 2023 18:26:46 -0500 Subject: [PATCH] fix: Working on CI action --- .github/workflows/CI.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1ad3ac6..fa6f197 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,8 +25,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18.x + - uses: pnpm/action-setup@v2 + with: + version: 8 - name: Install dependencies - run: npm ci + run: pnpm ci env: npm_config_arch: x64 - name: Test with VS Code ${{ matrix.vscode-version }} @@ -34,7 +37,7 @@ jobs: env: VSCODE_TEST_VERSION: ${{ matrix.vscode-version }} with: - run: npm test + run: pnpm test build: permissions: @@ -53,9 +56,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18.x + - uses: pnpm/action-setup@v2 + with: + version: 8 - name: Install dependencies (without binaries) run: | - npm ci + pnpm ci - run: npx semantic-release --extends ./package.release.config.js env: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} @@ -76,7 +82,10 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18.x - - run: npm ci + - uses: pnpm/action-setup@v2 + with: + version: 8 + - run: pnpm ci - uses: actions/download-artifact@v3 - run: npx semantic-release --extends ./publish.release.config.js if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository