Skip to content

chore(deps): update dependency @types/node to v22.9.0 (#69) #167

chore(deps): update dependency @types/node to v22.9.0 (#69)

chore(deps): update dependency @types/node to v22.9.0 (#69) #167

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20.x
cache: "npm"
- name: Install
run: npm ci
- name: Compiler
run: npm run compiler:check
- name: Linter
run: npm run linter
- name: Formatter
run: npm run formatter
test:
name: Testing
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install
run: npm ci
- name: Test
run: npm test
coverage:
name: Coveralls
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20.x
cache: "npm"
- name: Install
run: npm ci
- name: Coverage
run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2.3.4