Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v1.4.0 🌈

v1.4.0 🌈 #11

Workflow file for this run

name: Node.js Package
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
environment:
name: "production"
url: "https://www.npmjs.com/package/github-pewpew"
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'
- run: npm install
# Run tests
- run: npm test
# Publish to npm
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}