diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index de76171..7002139 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @Roohn @IrinaBaradyntsava @bk201- @Eldorean @robertneijmeijer \ No newline at end of file +* @Roohn @IrinaBaradyntsava @robertneijmeijer @thomasberghaus \ No newline at end of file diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..a5a845d --- /dev/null +++ b/.github/workflows/publish.yaml @@ -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 }}