Skip to content

Merge pull request #114 from hyuraku/dev-deps-minor-update #92

Merge pull request #114 from hyuraku/dev-deps-minor-update

Merge pull request #114 from hyuraku/dev-deps-minor-update #92

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn install --immutable --immutable-cache --check-cache
- run: yarn build
- name: prepare deploy
uses: actions/upload-pages-artifact@v1
with:
path: build
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1