feat(examples): enable wash template usage for password-checker #144
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
concurrency: | |
group: washboard-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
uses: ./.github/workflows/ci_build.yml | |
test: | |
uses: ./.github/workflows/ci_test.yml | |
release: | |
uses: ./.github/workflows/ci_release.yml | |
# Only run on main repo, don't try to release on forks | |
# Also only run on pushes to main branch, i.e. PRs and merge groups should not run this step | |
if: | | |
(github.repository == 'wasmCloud/typescript') && | |
(github.event_name == 'push' && github.ref == 'refs/heads/main') | |
needs: [build, test] | |
secrets: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
permissions: | |
contents: write # Needed to commit changesets | |
pull-requests: write # Needed to create pull requests | |
id-token: write # Needed for npm provenance | |
ci-check: | |
needs: [build, test] | |
if: ${{ always() }} | |
uses: ./.github/workflows/workflow_check.yml | |
with: | |
pass-condition: ${{ contains(needs.*.result, 'failure') == false }} |