Skip to content

zoneless switch

zoneless switch #19

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: List directory contents
run: ls -R
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'tasktrellis/package-lock.json'
- name: Install dependencies
run: npm install
working-directory: tasktrellis
- name: Run ESLint
run: npm run lint
working-directory: tasktrellis
- name: Run the tests and generate coverage report
run: npm run test
working-directory: tasktrellis
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
coverage-reports: tasktrellis/coverage/lcov.info
- name: Check that build is passing
run: npm run build
working-directory: tasktrellis