pnpm corepack, CI bugfix and no warnings for TIMEID
This commit is contained in:
12
.github/workflows/lint.yml
vendored
12
.github/workflows/lint.yml
vendored
@@ -42,7 +42,11 @@ jobs:
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm run build --if-present
|
||||
- run: npm run lint
|
||||
# Node ships corepack, which selects the pnpm version pinned in
|
||||
# package.json ("packageManager"). If this self-hosted runner has no
|
||||
# Node, drop the setup-node step above and rely on a preinstalled Node.
|
||||
- run: corepack enable
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm run build
|
||||
- run: pnpm run lint
|
||||
- run: pnpm test
|
||||
|
||||
Reference in New Issue
Block a user