Skip to content

Commit

Permalink
fix: Working on CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljolley committed Sep 21, 2023
1 parent f8f4cc2 commit dff18f5
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,19 @@ 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 }}
uses: coactions/setup-xvfb@v1
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
with:
run: npm test
run: pnpm test

build:
permissions:
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit dff18f5

Please sign in to comment.