chore(workflows): bump to node 16

This commit is contained in:
Wing-Kam Wong
2022-10-16 15:29:47 +08:00
parent 7b419dcbbc
commit c981c8260b
8 changed files with 8 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build blogs

View File

@@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build docs

View File

@@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build docs

View File

@@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build noco-i18n

View File

@@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build prev docs

View File

@@ -72,7 +72,7 @@ jobs:
ref: ${{ github.ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.15.0

View File

@@ -68,7 +68,7 @@ jobs:
ref: "refs/tags/${{ github.event.inputs.tag || inputs.tag }}",
sha: "${{steps.get-sha.outputs.TARGET_SHA}}"
})
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: "npx github-release-notes@0.17.2 release --token ${{ secrets.GITHUB_TOKEN }} --draft --tags ${{ github.event.inputs.tag || inputs.tag }}..${{ github.event.inputs.prev_tag || inputs.prev_tag }}"

View File

@@ -44,7 +44,7 @@ jobs:
ref: ${{ github.ref }}
- name: NPM Setup and Publish with 16.15.0
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.15.0
registry-url: 'https://registry.npmjs.org'