Skip to content

v1.8.4

v1.8.4 #55

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: publish-release
on:
release:
types:
- published
- unpublished
jobs:
set-commit-hash:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- id: commit-hash
uses: ottofeller/github-actions/latest-release-commit-hash@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: set-commit-hash
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: ottofeller/github-actions/npm-run@main
with:
node-version: 16
command: npm run lint
typecheck:
needs: set-commit-hash
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: ottofeller/github-actions/npm-run@main
with:
node-version: 16
command: npm run typecheck
test:
needs: set-commit-hash
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: ottofeller/github-actions/npm-run@main
with:
node-version: 16
command: npm run test
publish:
needs:
- set-commit-hash
- lint
- typecheck
- test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: ottofeller/github-actions/publish-npm@main
with:
ref: ${{ needs.set-commit-hash.outputs.commit_hash }}
registry-url: https://registry.npmjs.org/
npm-token: ${{ secrets.NPM_TOKEN }}
include-build-step: true