Merge pull request #31 from ccoeurderoy/fix/upgrade-deps #11
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: Publish new release for @algoan/eslint-config | |
on: | |
push: | |
branches: [master] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
name: Publish @algoan/eslint-config to NPM | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ inputs.ref }} | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
cache: "npm" | |
- run: npm i -g npm | |
- run: npm ci | |
- run: npm run semantic-release | |
name: Run Semantic Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_GHA_PAT }} | |
GITHUB_NPM_CONFIG_REGISTRY: https://npm.pkg.github.com/ | |
GITHUB_NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_NPM_CONFIG_REGISTRY: https://registry.npmjs.org/ | |
NPM_NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |