Skip to content

⬆ Bump @babel/preset-env from 7.25.3 to 7.25.4 #1129

⬆ Bump @babel/preset-env from 7.25.3 to 7.25.4

⬆ Bump @babel/preset-env from 7.25.3 to 7.25.4 #1129

Workflow file for this run

name: Test
on: push
jobs:
install:
name: Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
lint:
name: Lint
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
- run: npm run lint
build:
name: Build
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
- run: npm run build
test:
name: Test
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
- run: npm run test:coverage
env:
NYC_REPORTER: lcov
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/