Skip to content

chore: update node to 18 #9

chore: update node to 18

chore: update node to 18 #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
env:
CI: true
COVERAGE: ${{ matrix.node-version == '18.x' && true || false }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn
# Coverage.
- name: Run coverage
run: yarn coverage
- name: Report coverage
uses: codecov/codecov-action@v3