Skip to content

chore(deps): update devdependency @types/node to v20 - autoclosed #2401

chore(deps): update devdependency @types/node to v20 - autoclosed

chore(deps): update devdependency @types/node to v20 - autoclosed #2401

Workflow file for this run

name: test
on:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: ${{ github.event_name != 'push' }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache
with:
path: "node_modules"
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Test
run: yarn test
- name: Coverage
run: yarn codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}