Skip to content

Commit

Permalink
Github actions to use and updated node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Mar 15, 2024
1 parent 6d54fb3 commit 9ec7e33
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Node.js CI

on:
push:
branches: [master]
on:
push:
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
matrix:
node-version: [18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,4 +23,4 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm test

0 comments on commit 9ec7e33

Please sign in to comment.