From f794bd319e3338184b60715fcf9719263a54b945 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 22 Nov 2020 14:41:27 +0100 Subject: [PATCH] Removed publish action --- .github/workflows/publish.yml | 29 ----------------------------- .npmrc | 5 ----- 2 files changed, 34 deletions(-) delete mode 100644 .github/workflows/publish.yml delete mode 100644 .npmrc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index f75eedb..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: publish -on: - push: - branches: [master] -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v1 - with: - node-version: '12.x' - registry-url: 'https://registry.npmjs.org' - - run: npm install - # Publish to npm - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # Setup .npmrc file to publish to GitHub Packages - - uses: actions/setup-node@v1 - with: - registry-url: 'https://npm.pkg.github.com' - # Defaults to the user or organization that owns the workflow file - scope: '@millenniumearl' - # Publish to GitHub Packages - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 21553e8..0000000 --- a/.npmrc +++ /dev/null @@ -1,5 +0,0 @@ -//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} -registry=https://registry.npmjs.org/ -//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} -@millenniumearl:registry=https://npm.pkg.github.com -always-auth=true \ No newline at end of file