workflow: update

This commit is contained in:
xiaoxian521
2021-11-03 14:16:34 +08:00
parent c25b130b7d
commit 43a8baee3d
10 changed files with 7123 additions and 4882 deletions

View File

@@ -45,11 +45,22 @@ jobs:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.com/
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Build
run: |
yarn install
yarn lint
yarn build
pnpm install
pnpm lint
pnpm build
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main