feat(deps): upgrade Yarn v4 (corepack)
This commit is contained in:
parent
3fb493f400
commit
905d058be5
9 changed files with 21803 additions and 15608 deletions
13
.github/workflows/check.yml
vendored
13
.github/workflows/check.yml
vendored
|
|
@ -13,21 +13,32 @@ jobs:
|
|||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- run: echo "node_version=$(cat .github/nodejs.version)" >> $GITHUB_ENV
|
||||
- name: "use node ${{ env.node_version }}"
|
||||
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: "Set up Node.js ${{ env.node_version }}"
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "${{ env.node_version }}"
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Lint check
|
||||
run: yarn lint
|
||||
|
||||
- name: Format check
|
||||
run: yarn prettier
|
||||
|
||||
- name: Unit & Integration tests
|
||||
run: yarn test
|
||||
|
||||
- name: Smoke & Acceptance tests
|
||||
run: |
|
||||
yarn build-storybook --quiet
|
||||
|
|
|
|||
11
.github/workflows/nextjs_bundle_analysis.yml
vendored
11
.github/workflows/nextjs_bundle_analysis.yml
vendored
|
|
@ -4,10 +4,12 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- develop
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- develop
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -24,10 +26,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up node
|
||||
- run: echo "node_version=$(cat .github/nodejs.version)" >> $GITHUB_ENV
|
||||
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: "Set up Node.js ${{ env.node_version }}"
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "20.x"
|
||||
node-version: "${{ env.node_version }}"
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
|
|
|||
11
.github/workflows/playwright.yml
vendored
11
.github/workflows/playwright.yml
vendored
|
|
@ -13,17 +13,26 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- run: echo "node_version=$(cat .github/nodejs.version)" >> $GITHUB_ENV
|
||||
- name: "use node ${{ env.node_version }}"
|
||||
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: "Set up Node.js ${{ env.node_version }}"
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "${{ env.node_version }}"
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: yarn playwright install --with-deps
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: yarn playwright test
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue