run on test pass

This commit is contained in:
Nebel 2022-02-24 17:51:47 +09:00
parent c5bac0e1fe
commit b864adb115
2 changed files with 15 additions and 1 deletions

View file

@ -6,6 +6,7 @@ on:
types: [completed]
jobs:
main:
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

View file

@ -1 +0,0 @@
../template/package.json

View file

@ -0,0 +1,14 @@
{
"name": "basic",
"version": "1.0.0",
"private": true,
"main": "main.js",
"type": "module",
"scripts": {
"test": "jest"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"jest": "^27.5.1"
}
}