Skip to content

chore(deps): update yarn to v4 #3320

chore(deps): update yarn to v4

chore(deps): update yarn to v4 #3320

Workflow file for this run

on: push
name: Test on push
jobs:
test:
name: Test (JSDOM)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
- name: Install Deps
run: yarn install --immutable
- name: Run tests (browser)
run: yarn test
test_node:
name: Test (Node.js)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
- name: Install Deps
run: yarn install --immutable
- name: Run tests (node)
run: yarn test-node
test_pack:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
- name: Install Deps
run: yarn install --immutable
- name: Build the package
run: yarn pack
prettier:
name: Check prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
- name: Install Deps
run: |
yarn install --immutable
- name: Prettier check
run: |
yarn run lint-prettier
eslint:
name: Check eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
- name: Install Deps
run: |
yarn install --immutable
- name: Eslint check
run: |
yarn run lint-eslint