pucchinglgl/.github/workflows/build.yml

19 lines
489 B
YAML
Raw Normal View History

2021-01-13 21:06:33 +09:00
name: build
on:
push:
branches-ignore: [master]
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
2021-01-13 21:06:33 +09:00
- id: yarn_cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
2021-01-13 21:06:33 +09:00
with:
path: ${{ steps.yarn_cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: yarn-
- run: yarn
- run: yarn build