Skip to content

ci: add npm test step to GitHub Actions workflow #2

ci: add npm test step to GitHub Actions workflow

ci: add npm test step to GitHub Actions workflow #2

Workflow file for this run

name: Node.js with Webpack
on:
push:
branches-ignore: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Run a build script
run: npm run build
- name: Run a build script
run: npm run test