Skip to content

Commit

Permalink
fix publish CI
Browse files Browse the repository at this point in the history
  • Loading branch information
flyfishzy committed Feb 19, 2022
1 parent bade0f3 commit 3462c16
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6

- name: Setup node
- name: Set node version to 16
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'
node-version: 16
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
- name: Build
Expand Down

0 comments on commit 3462c16

Please sign in to comment.