mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Switch from npm to pnpm (#4429)
This commit is contained in:
committed by
GitHub
parent
db163b71b9
commit
736777385c
20
.github/workflows/ci-master.yml
vendored
20
.github/workflows/ci-master.yml
vendored
@@ -18,25 +18,27 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: pnpm/action-setup@v2.2.4
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install npm and dependencies
|
||||
run: npm install -g npm@latest && npm install
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
run: npm run build --if-present
|
||||
run: pnpm build
|
||||
|
||||
- name: Test
|
||||
run:
|
||||
npm run test
|
||||
run: pnpm test
|
||||
|
||||
- name: Test E2E
|
||||
run:
|
||||
npm run test:e2e:ci:smoke
|
||||
run: |
|
||||
pnpm cypress:install
|
||||
pnpm test:e2e:ci:smoke
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
run: pnpm lint
|
||||
|
||||
Reference in New Issue
Block a user