File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,15 @@ name: Node.js CI
22
33on :
44 push :
5- branches : [ live ]
6- pull_request :
7- branches : [ live ]
5+ tags :
6+ - " *"
7+ schedule :
8+ # we build monthly at 00:00 on day-of-month 1
9+ # - cron: '0 0 1 * *'
10+ # we build weekly at 00:00 on Sunday.
11+ - cron : ' 0 0 * * 0'
12+ # Allows you to run this workflow manually from the Actions tab
13+ workflow_dispatch :
814
915jobs :
1016 checks :
2026 node-version : ${{ matrix.node-version }}
2127 # - run: npm ci
2228 - name : Install and Build 🔧
23- run : |
24- npm install
29+ run : npm install
2530 # npm run build:ci
2631 # - run: npm test
Original file line number Diff line number Diff line change 1313 node-version : [20.x, 22.x, 24.x]
1414 name : Node ${{ matrix.node-version }} sample
1515 steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-node@v4
16+ - uses : actions/checkout@v6
17+ - uses : actions/setup-node@v5
1818 with :
1919 node-version : ${{ matrix.node-version }}
2020 - run : npm install
2424 needs : build
2525 runs-on : ubuntu-latest
2626 steps :
27- - uses : actions/checkout@v4
28- - uses : actions/setup-node@v4
27+ - uses : actions/checkout@v6
28+ - uses : actions/setup-node@v5
2929 with :
3030 node-version : 20
3131 registry-url : https://registry.npmjs.org/
You can’t perform that action at this time.
0 commit comments