pucchinglgl/.github/workflows/build.yml
2023-09-04 15:51:44 +00:00

18 lines
489 B
YAML

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