chore(deps): update dependency @octokit/rest to v21 #1895
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: axis-discovery | |
on: | |
push: | |
branches: | |
- "**" | |
paths: | |
- .github/workflows/axis-discovery.yml | |
- packages/axis-discovery/** | |
tags: | |
- axis-discovery@** | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: packages/axis-discovery | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
check-latest: true | |
- run: yarn install --immutable --immutable-cache | |
- run: yarn build | |
- run: yarn test | |
- run: ESLINT_USE_FLAT_CONFIG=false yarn lint | |
- run: | | |
cd ../.. | |
yarn install --immutable --immutable-cache | |
node ./scripts/publish-on-tag.js | |
if: startsWith(github.ref, 'refs/tags/') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |