756ce20db2
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
30 lines
590 B
YAML
30 lines
590 B
YAML
name: Build & Test
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js 16.15
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 16.15
|
|
cache: 'npm'
|
|
registry-url: 'https://npm.pkg.github.com'
|
|
- run: npm ci
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: npm run format-check -ws
|
|
- run: npm run build -ws
|
|
- run: npm run lint -ws
|
|
- run: npm test -ws
|