This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
Update dependency @babel/eslint-parser to v7.22.11 #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Document: https://help.github.com/ja/actions | |
# GitHub Pages Deployment - Nuxt.js | |
name: DEPLOYMENT | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deployment | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14] | |
steps: | |
- name: Checkout π ${{ matrix.node }} | |
uses: actions/checkout@master | |
- name: Setup node env π | |
uses: actions/setup-node@v2.5.2 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Get yarn cache directory path π | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Cache node_modules π¦ | |
uses: actions/cache@v2.1.8 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies π¨π»βπ» | |
run: yarn install --frozen-lockfile | |
- run: yarn generate:gh-pages | |
- name: deploy | |
if: success() | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |