Skip to content

CHANGELOGの英訳の更新 (#775) #1451

CHANGELOGの英訳の更新 (#775)

CHANGELOGの英訳の更新 (#775) #1451

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/checkout@v4.2.1
- name: Setup Node.js
uses: actions/setup-node@v4.0.4
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