Browse Source

feat(workflows): bump actions/setup-node to v4

feat/node-20
աɨռɢӄաօռɢ 1 year ago
parent
commit
1d9682a77d
  1. 4
      .github/workflows/ci-cd.yml
  2. 2
      .github/workflows/playwright-test-workflow.yml
  3. 2
      .github/workflows/pre-build-for-playwright.yml
  4. 2
      .github/workflows/publish-blog.yml
  5. 2
      .github/workflows/publish-dev-docs.yml
  6. 2
      .github/workflows/publish-docs.yml
  7. 2
      .github/workflows/publish-noco-i18n.yml
  8. 2
      .github/workflows/publish-prev-docs.yml
  9. 2
      .github/workflows/release-docker.yml
  10. 2
      .github/workflows/release-draft.yml
  11. 2
      .github/workflows/release-executables.yml
  12. 2
      .github/workflows/release-npm.yml
  13. 2
      .github/workflows/release-timely-executables.yml
  14. 2
      .github/workflows/unit-test.yml
  15. 2
      .github/workflows/update-sdk-path.yml

4
.github/workflows/ci-cd.yml

@ -38,7 +38,7 @@ jobs:
with: with:
version: 8 version: 8
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 20.10.0 node-version: 20.10.0
- name: Checkout - name: Checkout
@ -75,7 +75,7 @@ jobs:
with: with:
version: 8 version: 8
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 20.10.0 node-version: 20.10.0
- name: Checkout - name: Checkout

2
.github/workflows/playwright-test-workflow.yml

@ -21,7 +21,7 @@ jobs:
- name: remove use-node-version from .npmrc - name: remove use-node-version from .npmrc
run: sed -i '/^use-node-version/d' .npmrc run: sed -i '/^use-node-version/d' .npmrc
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 20.10.0 node-version: 20.10.0
- name: Setup pnpm - name: Setup pnpm

2
.github/workflows/pre-build-for-playwright.yml

@ -11,7 +11,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 20.10.0 node-version: 20.10.0
- name: Setup pnpm - name: Setup pnpm

2
.github/workflows/publish-blog.yml

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

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

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

2
.github/workflows/publish-docs.yml

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

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

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

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

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

2
.github/workflows/release-docker.yml

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

2
.github/workflows/release-draft.yml

@ -68,7 +68,7 @@ jobs:
ref: "refs/tags/${{ github.event.inputs.tag || inputs.tag }}", ref: "refs/tags/${{ github.event.inputs.tag || inputs.tag }}",
sha: "${{ steps.get-sha.outputs.TARGET_SHA }}" sha: "${{ steps.get-sha.outputs.TARGET_SHA }}"
}) })
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- 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 }}" - 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-executables.yml

@ -61,7 +61,7 @@ jobs:
./make.sh ./make.sh
sudo cp ./ldid /usr/local/bin sudo cp ./ldid /usr/local/bin
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18

2
.github/workflows/release-npm.yml

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

2
.github/workflows/release-timely-executables.yml

@ -62,7 +62,7 @@ jobs:
./make.sh ./make.sh
sudo cp ./ldid /usr/local/bin sudo cp ./ldid /usr/local/bin
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18

2
.github/workflows/unit-test.yml

@ -30,7 +30,7 @@ jobs:
version: 8 version: 8
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'pnpm' cache: 'pnpm'

2
.github/workflows/update-sdk-path.yml

@ -14,7 +14,7 @@ jobs:
with: with:
version: 8 version: 8
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 20.10.0 node-version: 20.10.0
- name: Checkout - name: Checkout

Loading…
Cancel
Save