Skip to content

unpublish package by actions #2

unpublish package by actions

unpublish package by actions #2

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
on:
push:
branches: [main,actions]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://npm.pkg.github.com
scope: '@arkread'
- run: npm unpublish --force
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}