Skip to content

feat: add rule 169

feat: add rule 169 #40

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
with:
commit-message: 'CI: new version {{version}} [skip ci]'
- name: Install
run: npm install
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}