Skip to content

Merge pull request #14 from jnm2/eslint9 #70

Merge pull request #14 from jnm2/eslint9

Merge pull request #14 from jnm2/eslint9 #70

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Build
run: yarn build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
- name: Validate
run: yarn validate
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist