Skip to content

Commit

Permalink
#1407: add test with node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Jul 4, 2024
1 parent 4ec2190 commit 11e54dd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/code-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,31 @@ jobs:
- run: npm ci --ignore-scripts

- run: npm run lint

# Assuming code passes, run tests
- name: Run mcdev-tests
run: npm run test
lintandTest22:
name: lint & test w/ node v22
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/

- run: npm ci --ignore-scripts

- run: npm run lint

# Assuming code passes, run tests
- name: Run mcdev-tests
run: npm run test

0 comments on commit 11e54dd

Please sign in to comment.