Skip to content

chore: update dependencies #632

chore: update dependencies

chore: update dependencies #632

Workflow file for this run

# .github/workflows/nodejs.yml
name: Node CI
on: [push, pull_request] # Run on Push and Pull Requests
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm
- name: pnpm build
working-directory: .
run: |
pnpm install
pnpm build
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm
- name: pnpm build
working-directory: .
run: |
pnpm install
pnpm lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm
- name: pnpm build
working-directory: .
run: |
pnpm install
pnpm test