feat: build workflow, ensures code (still) compiles

This commit is contained in:
Sainan 2024-05-05 21:47:35 +02:00
parent 9bded04dfd
commit 608e78c7a5

18
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Build
on:
push: {}
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4.1.2
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.2
with:
node-version: "20.x"
- run: npm ci
- run: npm run build