Skip to content

chore: fix eslint

chore: fix eslint #430

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.BOT_TOKEN }}
release-type: node
package-name: 'mass-tools'
bump-minor-pre-major: true
- uses: actions/checkout@v2
# These if statements ensure that a publication only occurs when a new release is created
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm install
if: ${{ steps.release.outputs.release_created }}
- run: git config --global user.name "cheminfo-bot"
if: ${{ steps.release.outputs.release_created }}
- run: git config --global user.email "[email protected]"
if: ${{ steps.release.outputs.release_created }}
- run: npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOT_TOKEN }}
if: ${{ steps.release.outputs.release_created }}