Bump @babel/preset-env from 7.25.9 to 7.26.0 #847
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: Tests | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the main branch | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node with v${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: Restore cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
**/.eslintcache | |
key: ${{ runner.os }}-node${{ matrix.node-version }}-test-v1-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-node${{ matrix.node-version }}-test-v1- | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Build packages | |
run: yarn build | |
- name: Lint | |
run: yarn lint --filter=[HEAD^1] | |
- name: Test | |
run: yarn test |