Skip to content

Update environment_ setting.md #280

Update environment_ setting.md

Update environment_ setting.md #280

Workflow file for this run

name: main
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: main
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
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
run: yarn install --frozen-lockfile
- name: Type check
run: yarn run typecheck
- name: Lint
run: yarn run lint
- name: Build
run: yarn run build
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: build
# # cname: docs.reearth.io