mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-19 06:07:59 -04:00
ci: run install with pacquet (#11657)
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -15,6 +15,9 @@ jobs:
|
||||
name: Compile & Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
pnpm_config_verify_deps_before_run: false
|
||||
|
||||
steps:
|
||||
- name: Checkout Commit
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
@@ -22,6 +25,10 @@ jobs:
|
||||
persist-credentials: false
|
||||
- name: Install pnpm
|
||||
uses: pnpm/setup@b1cac37306e39c21283b9dd6cb0ac288fb35ba6b
|
||||
with:
|
||||
install: false
|
||||
- name: pacquet install
|
||||
run: pnx --config.minimum-release-age=0 pacquet install --frozen-lockfile
|
||||
- name: Compile TypeScript
|
||||
run: pn compile-only
|
||||
- name: Lint
|
||||
|
||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -29,6 +29,9 @@ jobs:
|
||||
|
||||
runs-on: ${{ inputs.platform }}
|
||||
|
||||
env:
|
||||
pnpm_config_verify_deps_before_run: false
|
||||
|
||||
steps:
|
||||
- name: Configure Git
|
||||
run: |
|
||||
@@ -46,7 +49,10 @@ jobs:
|
||||
- name: Install pnpm and Node
|
||||
uses: pnpm/setup@b1cac37306e39c21283b9dd6cb0ac288fb35ba6b
|
||||
with:
|
||||
install: false
|
||||
runtime: node@${{ inputs.node }}
|
||||
- name: pacquet install
|
||||
run: pnx --config.minimum-release-age=0 pacquet install --frozen-lockfile --no-runtime
|
||||
- name: Verify Node version
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user