Skip to content

ci: add testing workflow #2

ci: add testing workflow

ci: add testing workflow #2

Workflow file for this run

name: Testing
env:
NODE_VERSION: 20.18
on: 'push'
jobs:
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:ci
- name: Build
run: npm run build