mirror of
https://github.com/kou029w/jest-hands-on.git
synced 2025-01-31 22:08:00 +00:00
run on test pass
This commit is contained in:
parent
c5bac0e1fe
commit
b864adb115
2 changed files with 15 additions and 1 deletions
1
.github/workflows/github-pages.yml
vendored
1
.github/workflows/github-pages.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
types: [completed]
|
types: [completed]
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
|
if: github.event.workflow_run.conclusion == 'success'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../template/package.json
|
|
14
templates/basic/package.json
Normal file
14
templates/basic/package.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue