Skip to content

Built generate-ip v2.3.0 #21

Built generate-ip v2.3.0

Built generate-ip v2.3.0 #21

name: Publish generate-ip to npm on new tag
on:
push:
tags: [generate-ip*]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm
- run: cd generate-ip && npm ci
- run: cd generate-ip && npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_PAT }}