chore(deps): update dependency vitest to v0.34.6 #530
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: Release | |
on: | |
push: | |
branches: | |
- '**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: styfle/[email protected] | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version-file: .nvmrc | |
- run: yarn --frozen-lockfile | |
- run: yarn run lint:prettier | |
- run: yarn run lint:eslint | |
- uses: jetli/[email protected] | |
- run: yarn run build | |
- run: yarn run lint:typescript | |
- run: yarn test | |
- run: rm pkg/.gitignore | |
- run: yarn semantic-release | |
id: semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
outputs: | |
new-release-published: ${{ steps.semantic-release.outputs.new-release-published }} | |
new-release-version: ${{ steps.semantic-release.outputs.new-release-version }} | |
report-merge: | |
needs: release | |
if: github.ref == 'refs/heads/master' | |
runs-on: self-hosted | |
steps: | |
- uses: styfle/[email protected] | |
- uses: actions/checkout@v3 | |
- uses: Keeper-Wallet/jira-action@v1 | |
with: | |
hooks-url: ${{ secrets.HOOKS_URL }} | |
hook-merge: ${{ secrets.HOOK_MERGE }} | |
report-release: | |
needs: [release, report-merge] | |
if: needs.release.outputs.new-release-published == 'true' | |
runs-on: self-hosted | |
steps: | |
- uses: styfle/[email protected] | |
- uses: actions/checkout@v3 | |
- uses: Keeper-Wallet/jira-action@v1 | |
with: | |
component: waves-crypto | |
hooks-url: ${{ secrets.HOOKS_URL }} | |
hook-release: ${{ secrets.HOOK_RELEASE }} | |
release-version: v${{ needs.release.outputs.new-release-version }} |