Skip to content

Commit 4e48c28

Browse files
committed
Update GH workflow
1 parent 17d131e commit 4e48c28

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ name: Node.js CI
22

33
on:
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

915
jobs:
1016
checks:
@@ -20,7 +26,6 @@ jobs:
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

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
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
@@ -24,8 +24,8 @@ jobs:
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/

0 commit comments

Comments
 (0)