Skip to content

chore: Add build and test workflow, fix npm audit issues #2

chore: Add build and test workflow, fix npm audit issues

chore: Add build and test workflow, fix npm audit issues #2

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_and_test:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build