node-web-gpio/.github/workflows/build.yml

17 lines
463 B
YAML
Raw Normal View History

2020-09-03 18:39:46 +09:00
name: build
on: pull_request
jobs:
main:
runs-on: ubuntu-22.04
2020-09-03 18:39:46 +09:00
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2020-09-03 18:39:46 +09:00
- id: yarn_cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
2020-09-03 18:39:46 +09:00
with:
path: ${{ steps.yarn_cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: yarn-
- run: yarn
- run: yarn build