Skip to content

Merge pull request #47 from usnistgov/dependabot/npm_and_yarn/esbuild… #20

Merge pull request #47 from usnistgov/dependabot/npm_and_yarn/esbuild…

Merge pull request #47 from usnistgov/dependabot/npm_and_yarn/esbuild… #20

Workflow file for this run

name: Test Build
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Build library
run: |
npm install
npm run build
- name: Test library
run: |
node --test