Skip to content

Commit 906c03c

Browse files
authored
Merge pull request #205 from AFASSoftware/update-workflow-to-main
ci: update workflow to use main branch
2 parents 2f71838 + fccbc33 commit 906c03c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,19 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ master ]
10+
branches: [ main ]
1111

1212
jobs:
13-
build:
13+
ci:
1414
runs-on: ubuntu-latest
15-
strategy:
16-
matrix:
17-
node-version: [20.x]
18-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19-
2015
steps:
2116
- uses: actions/checkout@v6
22-
- name: Use Node.js ${{ matrix.node-version }}
17+
- name: Use Node.js 20.x
2318
uses: actions/setup-node@v6
2419
with:
25-
node-version: ${{ matrix.node-version }}
20+
node-version: 20.x
2621
cache: 'npm'
2722
- run: npm ci
2823
- run: npm run ci

0 commit comments

Comments
 (0)