Skip to content

Commit

Permalink
Merge pull request #33 from MysticalMike60t/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
MysticalMike60t authored Sep 11, 2024
2 parents 5d51aae + 9fdb070 commit d45ff16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
name: lib
path: lib/

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand All @@ -37,23 +38,3 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-github:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Download lib directory
uses: actions/download-artifact@v3
with:
name: lib
path: lib/
- run: npm ci
- run: ls -R lib
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

0 comments on commit d45ff16

Please sign in to comment.