Bump eslint from 7.32.0 to 8.47.0 #647
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- "*" | |
branches-ignore: | |
- "*" | |
pull_request: | |
tags: [] | |
branches: [] | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
name: Publish NPM | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
name: Installing Node.js v14.x | |
with: | |
node-version: 14.x | |
- name: Installing dependencies | |
run: | | |
npm install | |
- name: Lint the code | |
run: | | |
npm run lint | |
- name: Compile TypeScript | |
run: | | |
npm run build | |
- name: Execute tests | |
run: | | |
npm run test | |
- name: Compute GitHub tag | |
id: tag | |
uses: dawidd6/action-get-tag@v1 | |
- name: Publish | |
run: | | |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN | |
npm version ${{ steps.tag.outputs.tag }} | |
npm publish --access=public | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |