Skip to content

Commit

Permalink
chore: update verify to test node 18 & 20, release on 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema committed Oct 10, 2023
1 parent c69d9cd commit aac4e47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 18.x
- name: Setup Node.js 20.x
uses: actions/setup-node@master
with:
node-version: 18.x
node-version: 20.x
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
Expand All @@ -35,4 +35,4 @@ jobs:
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ jobs:
verify:
name: Verify changes
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2

- name: Setup Node 18.x
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm ci
Expand Down

0 comments on commit aac4e47

Please sign in to comment.