Skip to content

feat: node alpine

feat: node alpine #7

Workflow file for this run

name: Auto-Publish
on:
push:
branches:
- feat/respec
workflow_dispatch:
jobs:
build:
name: Build and Validate
runs-on: node:alpine
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Inject md to html
run: |
chmod +x ./scripts/replace.sh
./scripts/replace.sh
# - name: Run Respec
# run: |
# sudo npx puppeteer browsers install chrome
# sudo npx respec --src index.html --out index.html.build.html
- uses: w3c/spec-prod@v2
with:
BUILD_FLAGS: -t 40
- uses: actions/upload-pages-artifact@v3
with:
path: .
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4