surfer/.github/workflows/ci.yml
mr. m 539ecb1f70
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-12 20:11:09 +02:00

30 lines
476 B
YAML

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
general:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm test