Skip to content

Bump @types/node from 20.16.1 to 22.4.1 #23

Bump @types/node from 20.16.1 to 22.4.1

Bump @types/node from 20.16.1 to 22.4.1 #23

Workflow file for this run

name: CI
on: [ push ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install the project dependencies
run: npm install
- name: Fix code style issues with prettier & eslint
run: npm run lint:fix && npm run prettier:fix
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install the project dependencies
run: npm install
- name: Run tests
run: npm test
build:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install the project dependencies
run: npm install
- name: Build the project
run: npm run build