Skip to content

Merge pull request #3 from mnyrop/main #10

Merge pull request #3 from mnyrop/main

Merge pull request #3 from mnyrop/main #10

Workflow file for this run

name: github pages deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: install
run: npm install
- name: build
run: npm run build
- name: test a11y
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: npm run test
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build