Skip to content

Commit

Permalink
chore: construct workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
surelle-ha committed Nov 1, 2024
1 parent 761f510 commit cc0e6de
Show file tree
Hide file tree
Showing 3 changed files with 2,922 additions and 34 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
with:
node-version: '20'
registry-url: 'https://npm.pkg.github.com/'
scope: 'surelle-ha'
scope: '@surelle-ha'

- name: Write .npmrc
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc

- run: npm install --legacy-peer-deps
- run: npm install --save-dev @types/node --legacy-peer-deps
- run: tsc --build
- run: npm publish
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit cc0e6de

Please sign in to comment.