Skip to content

Commit

Permalink
Updated NodeJS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jalik committed Jan 29, 2024
1 parent 8d81ecc commit cc565dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js CI

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

jobs:
build:
Expand All @@ -13,9 +13,9 @@ jobs:
matrix:
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down

0 comments on commit cc565dc

Please sign in to comment.