Skip to content

Use typescript rule instead of eslint no-unused-vars rule #43

Use typescript rule instead of eslint no-unused-vars rule

Use typescript rule instead of eslint no-unused-vars rule #43

Workflow file for this run

name: Actions
on:
push:
branches:
- production
jobs:
#
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
publish:
name: 'Publish to NPM'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Setup NodeJS
uses: actions/setup-node@main
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Bump package version
run: node bump-version.js
- name: Install NPM dependencies
run: npm install
working-directory: .
- name: Build Package
run: npm run build
working-directory: .
- name: Publish package to NPM
run: npm publish --access public
working-directory: .
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}