Skip to content

Commit

Permalink
Update ci.yaml (#195)
Browse files Browse the repository at this point in the history
* Update ci.yaml

* Update ci.yaml

* Update release.yaml
  • Loading branch information
meorphis authored Feb 10, 2025
1 parent 2af5016 commit 5d68d63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
strategy:
matrix:
node: [18, 20]
os: ['ubuntu-latest', 'windows-latest']
os: ['ubuntu-latest']

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: corepack enable && corepack prepare
- run: npm i -g --force corepack && corepack enable
# Note: actions/setup-node doesn't yet provide parameters for corepack, we need to run it again after enabling it
- uses: actions/setup-node@v3
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ jobs:
git pull origin release --rebase=false --ff-only
git merge --no-ff main
- name: Setup Node.js
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: corepack enable && corepack prepare
- run: npm i -g --force corepack && corepack enable
# Note: actions/setup-node doesn't yet provide parameters for corepack, we need to run it again after enabling it
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 5d68d63

Please sign in to comment.