mirror of https://github.com/halo-dev/halo-admin
chore: update github action.
parent
151550e824
commit
ba5adcf5cd
|
@ -24,11 +24,18 @@ jobs:
|
||||||
node-version: [12.x, 14.x, 15.x, 16.x]
|
node-version: [12.x, 14.x, 15.x, 16.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install pnpm
|
||||||
|
uses: pnpm/action-setup@v2.0.1
|
||||||
|
with:
|
||||||
|
version: 6.15.1
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm install -g pnpm
|
cache: 'pnpm'
|
||||||
|
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
- run: pnpm lint
|
- run: pnpm lint
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue