Skip to content

Commit

Permalink
Merge pull request #67 from laws-africa/publish
Browse files Browse the repository at this point in the history
publish to github
  • Loading branch information
longhotsummer authored Jun 20, 2022
2 parents cbe339d + bafab34 commit 889a4c0
Show file tree
Hide file tree
Showing 6 changed files with 289 additions and 36 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v2

# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://npm.pkg.github.com'
registry-url: 'https://registry.npmjs.org'

- run: npm ci --no-audit --prefer-offline --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.LA_ACTIONS_TOKEN }}

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.LA_ACTIONS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit 889a4c0

Please sign in to comment.