deleted publish-npm

This commit is contained in:
Sayantan Karmakar 2022-05-27 13:42:02 +05:30
parent 5ab52c0400
commit 5175b0dcd0
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
name: Publish Package to npmjs
on:
release:
types: [created]
defaults:
run:
working-directory: ts
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
# Defaults to the user or organization that owns the workflow file
scope: "@project-serum"
cache: "npm"
cache-dependency-path: ts/package-lock.json
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}