Skip to content

⬆ Bump eslint-plugin-n from 16.6.2 to 17.4.0 #1046

⬆ Bump eslint-plugin-n from 16.6.2 to 17.4.0

⬆ Bump eslint-plugin-n from 16.6.2 to 17.4.0 #1046

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/