Browse Source

chore(deps): add pnpm/action-setup@v2

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
2e6ceb3d60
  1. 8
      .github/workflows/ci-cd.yml
  2. 4
      .github/workflows/playwright-test-workflow.yml
  3. 4
      .github/workflows/publish-blog.yml
  4. 4
      .github/workflows/publish-dev-docs.yml
  5. 4
      .github/workflows/publish-docs.yml
  6. 4
      .github/workflows/publish-noco-i18n.yml
  7. 4
      .github/workflows/publish-prev-docs.yml
  8. 4
      .github/workflows/release-docker.yml
  9. 4
      .github/workflows/release-executables.yml
  10. 4
      .github/workflows/release-npm.yml
  11. 4
      .github/workflows/release-timely-executables.yml
  12. 4
      .github/workflows/unit-test.yml
  13. 4
      .github/workflows/update-sdk-path.yml

8
.github/workflows/ci-cd.yml

@ -30,6 +30,10 @@ jobs:
timeout-minutes: 40 timeout-minutes: 40
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
@ -68,6 +72,10 @@ jobs:
timeout-minutes: 40 timeout-minutes: 40
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:

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

@ -16,6 +16,10 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 40 timeout-minutes: 40
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
# Reference: https://github.com/pierotofy/set-swap-space/blob/master/action.yml # Reference: https://github.com/pierotofy/set-swap-space/blob/master/action.yml
- name: Set 5gb swap - name: Set 5gb swap
shell: bash shell: bash

4
.github/workflows/publish-blog.yml

@ -10,6 +10,10 @@ jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

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

@ -14,6 +14,10 @@ jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

4
.github/workflows/publish-docs.yml

@ -13,6 +13,10 @@ jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

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

@ -12,6 +12,10 @@ jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

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

@ -13,6 +13,10 @@ jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

4
.github/workflows/release-docker.yml

@ -45,6 +45,10 @@ jobs:
env: env:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Get Docker Repository - name: Get Docker Repository
id: get-docker-repository id: get-docker-repository
run: | run: |

4
.github/workflows/release-executables.yml

@ -21,6 +21,10 @@ jobs:
build-executables: build-executables:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache node modules - name: Cache node modules
id: cache-pnpm id: cache-pnpm

4
.github/workflows/release-npm.yml

@ -37,6 +37,10 @@ jobs:
env: env:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

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

@ -21,6 +21,10 @@ jobs:
build-executables: build-executables:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
token: ${{ secrets.NC_GITHUB_TOKEN }} token: ${{ secrets.NC_GITHUB_TOKEN }}

4
.github/workflows/unit-test.yml

@ -24,6 +24,10 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3

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

@ -9,6 +9,10 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:

Loading…
Cancel
Save