Browse Source

chore(workflows): rollback to npm for some packages

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
6bed005d4e
  1. 8
      .github/workflows/publish-blog.yml
  2. 8
      .github/workflows/publish-dev-docs.yml
  3. 8
      .github/workflows/publish-docs.yml
  4. 8
      .github/workflows/publish-prev-docs.yml

8
.github/workflows/publish-blog.yml

@ -10,10 +10,6 @@ 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:
@ -25,8 +21,8 @@ jobs:
- name: Build blogs - name: Build blogs
run: | run: |
cd packages/noco-blog cd packages/noco-blog
pnpm install npm install
pnpm run generate npm run generate
- name: Pushes generated output - name: Pushes generated output

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

@ -14,10 +14,6 @@ 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:
@ -28,8 +24,8 @@ jobs:
- name: Build docs - name: Build docs
run: | run: |
cd packages/noco-docs cd packages/noco-docs
pnpm install npm install
pnpm run generate npm run generate
- name: Pushes generated output - name: Pushes generated output

8
.github/workflows/publish-docs.yml

@ -13,10 +13,6 @@ 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:
@ -27,8 +23,8 @@ jobs:
- name: Build docs - name: Build docs
run: | run: |
cd packages/noco-docs cd packages/noco-docs
pnpm install npm install
pnpm run generate npm run generate
- name: Pushes generated output - name: Pushes generated output
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658 uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env: env:

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

@ -13,10 +13,6 @@ 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:
@ -27,8 +23,8 @@ jobs:
- name: Build prev docs - name: Build prev docs
run: | run: |
cd packages/noco-docs-prev cd packages/noco-docs-prev
pnpm install npm install
pnpm run generate npm run generate
- name: Pushes generated output - name: Pushes generated output

Loading…
Cancel
Save