Test, Build & Release #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and draft release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "**.js" | ||
- "**.ts" | ||
- Containerfile | ||
- package.json | ||
pull_request: | ||
paths: | ||
- "**.js" | ||
- "**.ts" | ||
- package.json | ||
workflow_dispatch: | ||
jobs: | ||
verify: | ||
uses: parcelLab/ci/.github/workflows/js.yaml@v1 | ||
secrets: | ||
npmGithubReadToken: ${{ secrets.PACKAGES_READ_TOKEN }} | ||
draft: | ||
if: github.ref == 'refs/heads/master' | ||
needs: | ||
- verify | ||
uses: parcelLab/ci/.github/workflows/release.yaml@v1 | ||
secrets: | ||
repoAccessToken: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
npmjsAuthToken: ${{ secrets.NPM_TOKEN }} | ||
Check failure on line 29 in .github/workflows/test.yaml GitHub Actions / Test and draft releaseInvalid workflow file
|