Skip to content

Commit

Permalink
feat: switch to npm (#36)
Browse files Browse the repository at this point in the history
Most of LINZ is using NPM as their pacakge manager, switch to be consistent
  • Loading branch information
blacha committed May 11, 2023
1 parent ad98d63 commit d78c3fa
Show file tree
Hide file tree
Showing 4 changed files with 2,857 additions and 978 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ on:

jobs:
build:
uses: linz/action-typescript/.github/workflows/main.yml@v2
runs-on: ubuntu-latest
steps:
- uses: linz/action-typescript@v3
5 changes: 2 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
id: release
with:
release-type: node
package-name: '@linz/template-javascript-hello-world'
token: ${{ secrets.GITHUB_TOKEN }}

publish-release:
Expand All @@ -23,11 +22,11 @@ jobs:
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Build and test
uses: linz/action-typescript@v2
uses: linz/action-typescript@v3
with:
registry-url: 'https://npm.pkg.github.com'

- name: Publish to Github
run: yarn publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Loading

0 comments on commit d78c3fa

Please sign in to comment.