chore: change yarn to pnpm

This commit is contained in:
Igor Klepacki 2025-01-23 09:20:58 +01:00
parent 4abaac8898
commit 93e3bbce81
No known key found for this signature in database
GPG key ID: 951043B45C7A29E7
7 changed files with 19203 additions and 15560 deletions

View file

@ -20,18 +20,24 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "${{ env.node_version }}"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: "Install pnpm & dependencies"
uses: pnpm/action-setup@v4
with:
run_install: |
- recursive: true
- args: [--frozen-lockfile]
- name: Lint check
run: yarn lint
run: pnpm run lint
- name: Format check
run: yarn prettier
run: pnpm run prettier
- name: Unit & Integration tests
run: yarn test
run: pnpm run test
- name: Smoke & Acceptance tests
run: |
yarn build-storybook --quiet
yarn playwright install
pnpm run build-storybook --quiet
pnpm run playwright install
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"
"npx wait-on tcp:127.0.0.1:6006 && pnpm run test-storybook"