This commit is contained in:
1 parent
2756c9bf72
commit
3b318038a6
1 file changed
+34
@@ -0,0 +1,34 @@
|
||||
name: Moorly Website CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: linux-x64
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check Node version
|
||||
run: |
|
||||
node --version
|
||||
npm --version
|
||||
test "$(node -p 'process.versions.node.split(".")[0]')" = "24"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check
|
||||
run: npm run check
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Security audit
|
||||
run: npm audit
|
||||
|
||||
Reference in new issue
Block a user