chore(deps): update dependency typescript to v5.7.2 #2526
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 | |
container: node:lts | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Prepare | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test | |
- name: Publish | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
# npm will not execute `prepublisnOnly` lifecycle hook if user is root. | |
# @see https://github.com/semantic-release/semantic-release/issues/956#issuecomment-431097773 | |
run: | | |
npm run prepublishOnly | |
npx semantic-release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |