Skip to content

Commit

Permalink
switch to Node 20 as default runner, test also 18 and 20 on CI (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Oct 22, 2023
1 parent 548bb8c commit e330a9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
name: Testing on Node ${{ matrix.node }}
steps:
- name: '🚚 Checkout'
uses: actions/checkout@v3
- name: '🔧 Setup Node'
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: ${{ matrix.node }}
- name: '📦️ Install dependencies'
run: yarn
- name: '🧪 Run Unit tests'
Expand All @@ -29,4 +33,4 @@ jobs:
uses: ./
with:
path: tests/ci/berry-v3/yarn.lock
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ inputs:
required: false
default: 'false'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

0 comments on commit e330a9e

Please sign in to comment.