ci: fix workflows

This commit is contained in:
master 2025-02-06 04:32:45 +08:00
parent 9eb1239842
commit 57ae2191ae

View File

@ -16,9 +16,6 @@ jobs:
runs-on: ubuntu-latest
name: Build, Lint and Test Library
steps:
- name: Check Permissions When Workflow Dispatch
id: check_admin
- name: Checkout
uses: actions/checkout@v4
@ -26,11 +23,17 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
run_install: |
- recursive: true
args: [--frozen-lockfile]
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Linting Library
run: npm run lint