Add CI #1
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
name: Build package | ||
on: | ||
push: | ||
branches: [ master ] | ||
tags: [ '*' ] | ||
pull_request: | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
- name: install | ||
run: yarn --frozen-lockfile | ||
- name: build | ||
run: yarn build | ||
env: | ||
Check failure on line 28 in .github/workflows/CI.yml GitHub Actions / Build packageInvalid workflow file
|
||
BASE_PATH: /my-app/ | ||
- name: create .nojekyll | ||
run: touch .output/public/.nojekyll | ||
- name: deploy pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: master | ||
folder: .output/public | ||