Skip to content

Added build workflow #1

Added build workflow

Added build workflow #1

Workflow file for this run

name: Build
on:
# Runs on pushes targeting the default branch
push:
branches: **

Check failure on line 6 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
concurrency: preview-${{ github.ref }}
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.3
with:
node-version: 22
- name: Build with Node.js
run: |
npm ci
npm run build