Browse Source

chore(workflows): bump to node 16

pull/4112/head
Wing-Kam Wong 2 years ago
parent
commit
c981c8260b
  1. 2
      .github/workflows/publish-blog.yml
  2. 2
      .github/workflows/publish-dev-docs.yml
  3. 2
      .github/workflows/publish-docs.yml
  4. 2
      .github/workflows/publish-noco-i18n.yml
  5. 2
      .github/workflows/publish-prev-docs.yml
  6. 2
      .github/workflows/release-docker.yml
  7. 2
      .github/workflows/release-draft.yml
  8. 2
      .github/workflows/release-npm.yml

2
.github/workflows/publish-blog.yml

@ -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

2
.github/workflows/publish-dev-docs.yml

@ -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

2
.github/workflows/publish-docs.yml

@ -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

2
.github/workflows/publish-noco-i18n.yml

@ -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

2
.github/workflows/publish-prev-docs.yml

@ -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

2
.github/workflows/release-docker.yml

@ -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

2
.github/workflows/release-draft.yml

@ -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 }}"

2
.github/workflows/release-npm.yml

@ -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'

Loading…
Cancel
Save