Update and rename .github/ISSUE_TEMPLATE/generic-pr-template.md to .g… #3
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
# This Action Pubhlishes to NPM Automatically. | |
on: | |
push: # event | |
branches: main # configuration or Activity types? | |
jobs: | |
publish: # Name | |
runs-on: ubuntu-latest | |
environment: npm_publishing | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Run Testing | |
run: npm test | |
- name: Publish to NPM | |
uses: JS-DevTools/npm-publish@v3 | |
with: | |
token: ${{ secrets.LAYER8_INTERCEPTOR_MIDDLEWARE_TOKEN }} | |
registry: https://registry.npmjs.org | |
access: public |