chore(deps): update dependency husky to v9 #2126
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: workflow | |
on: push | |
jobs: | |
job: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Prepare | |
run: npm ci | |
- name: Lint | |
uses: mooyoul/tslint-actions@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
pattern: '*.ts' | |
- name: Build | |
run: npm run build | |
- name: Publish | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
run: npx semantic-release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |