Skip to content

chore: bump pnpm and node versions #34

chore: bump pnpm and node versions

chore: bump pnpm and node versions #34

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
ci:
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
node:
- 14
- 16
- 18
- 20
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Build, Lint and test
run: |
pnpm build
pnpm lint
env:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
- name: Test
run: pnpm test
continue-on-error: true
- name: Codecov
uses: codecov/codecov-action@v3
- name: Codacy Coverage
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) -- -r coverage/*.json
env:
CODACY_ACCOUNT_TOKEN: ${{ secrets.CODACY_ACCOUNT_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}