blob: 0a92f6832cc508afd1986b2c63ffce7fd4f1e05c [file] [log] [blame]
name: Node CI
on:
push: {}
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Build
run: |
npm install
npm run build:site
node build.js --env dev
env:
CI: true