Skip to content

change eslint and prettier #11

change eslint and prettier

change eslint and prettier #11

Workflow file for this run

name: Build
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm ci
- name: Test
run: npm run test
- name: Build
run: npm run build --if-present
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}