mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
create build action and requiredStatusChecks
This commit is contained in:
parent
3e8f68675c
commit
bb0f17646f
2 changed files with 17 additions and 2 deletions
16
.github/workflows/build.yml
vendored
Normal file
16
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"extends": ["config:base"],
|
||||
"rangeStrategy": "update-lockfile",
|
||||
"automerge": true,
|
||||
"requiredStatusChecks": null
|
||||
"automerge": true
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue