ci: fix workflows
This commit is contained in:
parent
9eb1239842
commit
57ae2191ae
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -16,9 +16,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Build, Lint and Test Library
|
name: Build, Lint and Test Library
|
||||||
steps:
|
steps:
|
||||||
- name: Check Permissions When Workflow Dispatch
|
|
||||||
id: check_admin
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -26,11 +23,17 @@ jobs:
|
|||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
run_install: |
|
run_install: false
|
||||||
- recursive: true
|
|
||||||
args: [--frozen-lockfile]
|
- name: Install Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
|
||||||
- name: Linting Library
|
- name: Linting Library
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
Loading…
Reference in New Issue
Block a user