Skip to content

Commit

Permalink
ci: Use setup-node rather than volta
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Jun 6, 2023
1 parent 1300dfc commit 01d1404
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- name: Install
run: yarn install
- name: Build
Expand All @@ -38,7 +40,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- name: Run Linter
run: yarn lint
Expand All @@ -54,7 +58,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- name: Run Unit Tests
run: yarn test
Expand All @@ -72,7 +78,9 @@ jobs:
ELECTRON_VERSION: ${{ matrix.electron }}
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- name: Run E2E Tests
run: yarn e2e
4 changes: 3 additions & 1 deletion .github/workflows/new-electron-versions-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- name: Update Versions
run: yarn update-electron-versions
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/new-sdk-versions-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- name: Update Versions
run: yarn update-sdk-versions
Expand Down

0 comments on commit 01d1404

Please sign in to comment.