chore: change yarn to pnpm
This commit is contained in:
parent
a8a3653106
commit
fd19e69a69
7 changed files with 19203 additions and 15560 deletions
22
.github/workflows/check.yml
vendored
22
.github/workflows/check.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue