Skip to content

Commit

Permalink
ci: don't run packaging workflow if the buid fails
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Jul 23, 2024
1 parent 7c66679 commit 446cda7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
name: GitHub release and NPM publishing

on:
push:
branches:
- main
pull_request:
workflow_run:
workflows: ['Build, test and check format']
types:
- completed
branches:
- main

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"types": ["jest", "node"],
"declaration": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"allowSyntheticDefaultImports": true
},
"include": ["src"],
"exclude": ["./node_modules/", "./dist/", "./jest.config.js", "./test/"],
"exclude": ["./node_modules/", "./dist/", "./jest.config.js", "./test/"]
}

0 comments on commit 446cda7

Please sign in to comment.