mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
Kohei Watanabe
90bb5008c5
git-subtree-dir: next git-subtree-mainline:5d936d154e
git-subtree-split:19b6c91e86
16 lines
413 B
YAML
16 lines
413 B
YAML
name: build
|
|
on: push
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- id: yarn_cache
|
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
- uses: actions/cache@v1
|
|
with:
|
|
path: ${{ steps.yarn_cache.outputs.dir }}
|
|
key: yarn-${{ hashFiles('**/yarn.lock') }}
|
|
restore-keys: yarn-
|
|
- run: yarn
|
|
- run: yarn build
|