Skip to content

Merge pull request #4 from Fa-haxiki/Fa-haxiki-patch-4 #1

Merge pull request #4 from Fa-haxiki/Fa-haxiki-patch-4

Merge pull request #4 from Fa-haxiki/Fa-haxiki-patch-4 #1

Workflow file for this run

name: Public Npm
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
name: 'publish npm'
environment: npm
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Install and Build
run: |
npm install
npm run build
- name: 'Publish to the npm registry'
uses: primer/[email protected]
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
with:
default_branch: 'main'