Skip to content

Merge pull request #31 from ccoeurderoy/fix/upgrade-deps #11

Merge pull request #31 from ccoeurderoy/fix/upgrade-deps

Merge pull request #31 from ccoeurderoy/fix/upgrade-deps #11

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 }}