Skip to content

属性名の予約語を禁止 (#863) #141

属性名の予約語を禁止 (#863)

属性名の予約語を禁止 (#863) #141

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 20.x
- name: AiScript Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: AiScript Install dependencies
run: npm ci
- name: AiScript Build
run: npm run build
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-playground-${{ hashFiles('playground/package-lock.json') }}
restore-keys: npm-playground-
- name: Install dependencies
run: npm ci
working-directory: ./playground
- name: Build
run: npm run build
working-directory: ./playground
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./playground/dist