Skip to content

Commit f1a3a3e

Browse files
committed
Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 parent 932f45c commit f1a3a3e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/node.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
push:
1111
branches:
12+
- main
1213
- master
1314
- stable*
1415

@@ -19,17 +20,17 @@ jobs:
1920
name: node
2021
steps:
2122
- name: Checkout
22-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2324

2425
- name: Read package.json node and npm engines version
25-
uses: skjnldsv/read-package-engines-version-actions@v1.1
26+
uses: skjnldsv/read-package-engines-version-actions@v1.2
2627
id: versions
2728
with:
2829
fallbackNode: '^12'
2930
fallbackNpm: '^6'
3031

3132
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
32-
uses: actions/setup-node@v2
33+
uses: actions/setup-node@v3
3334
with:
3435
node-version: ${{ steps.versions.outputs.nodeVersion }}
3536

0 commit comments

Comments
 (0)