fix(deps): update dependency ajv to v8 #2599
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:18 | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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' || github.ref == 'refs/heads/next') | |
# 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 }} |