Update dependency @babel/preset-env to v7.26.0 #1079
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: Node CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: | |
- ubuntu-latest | |
- windows-latest | |
node-version: | |
- 16.x | |
- 14.x | |
- 12.x | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Pulling caches itself it expensive. Which one is faster? | |
# - name: Get yarn cache | |
# id: yarn-cache | |
# run: echo "::set-output name=dir::$(yarn cache dir)" | |
# - uses: actions/cache@v1 | |
# with: | |
# path: ${{ steps.yarn-cache.outputs.dir }} | |
# key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-yarn- | |
- name: yarn install, lint, and test | |
run: | | |
yarn install --ignore-scripts | |
yarn build | |
yarn test | |
env: | |
CI: true | |
TOKEN: ${{ secrets.TOKEN }} |