summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-03-05 10:15:18 +0000
committerNextcloud bot <bot@nextcloud.com>2022-03-05 10:15:18 +0000
commit28fc1acf5f5e0d3f8b47719798c24f664be42616 (patch)
treed6bca7052ab270f4c3a200a3ea421ea90d78e66c /.github
parent6d734ce3c1149debe06ad8dced0965585e70632b (diff)
Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/node.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index 4b20eb5e..bb3bbf52 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -9,6 +9,7 @@ on:
pull_request:
push:
branches:
+ - main
- master
- stable*
@@ -19,17 +20,17 @@ jobs:
name: node
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Read package.json node and npm engines version
- uses: skjnldsv/read-package-engines-version-actions@v1.1
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}