Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: update package-lock.json with new dependencies and version upg… #2

chore: update package-lock.json with new dependencies and version upg…

chore: update package-lock.json with new dependencies and version upg… #2

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
name: Build, Typecheck and Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Run tests
run: npm test --silent
- name: Build
run: npm run build
- name: Upload dist artifact
if: ${{ matrix.node == '20.x' }}
uses: actions/upload-artifact@v4
with:
name: dist
path: dist