chore(deps): update yarn to v4.2.1 #1392
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Commit | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
jobs: | |
lint-test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: | | |
yarn install | |
cd examples | |
yarn install | |
cd .. | |
- name: Lint | |
run: yarn lint | |
- name: Unit tests | |
run: yarn test | |
env: | |
CI: true | |
- name: Typings test | |
run: yarn test:type | |
- name: Build | |
run: yarn build | |
env: | |
NODE_ENV: production | |
- name: Codecov | |
run: npx codecov -f coverage/*.json | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |