Skip to content

Commit

Permalink
Add publish step
Browse files Browse the repository at this point in the history
Signed-off-by: Roohn <ronald.tol@ah.nl>
  • Loading branch information
Roohn committed Sep 27, 2024
1 parent ca1f9aa commit 40c1ec6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @Roohn @IrinaBaradyntsava @bk201- @Eldorean @robertneijmeijer
* @Roohn @IrinaBaradyntsava @robertneijmeijer @thomasberghaus
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://npm.pkg.github.com"
scope: "@albert-heijn-technology"
- run: yarn
- run: yarn install
- run: yarn tsc
- run: yarn build
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 40c1ec6

Please sign in to comment.