Skip to content

Merge pull request #998 from Quramy/renovate/typescript-eslint-monorepo #2511

Merge pull request #998 from Quramy/renovate/typescript-eslint-monorepo

Merge pull request #998 from Quramy/renovate/typescript-eslint-monorepo #2511

Workflow file for this run

name: publish
on: push
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm publish
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
npm whoami
yarn --frozen-lockfile
yarn compile
npm publish
if: contains(github.ref, 'tags/v')
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
CI: true