diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 0000000..1fad46a --- /dev/null +++ b/.github/workflows/action.yml @@ -0,0 +1,21 @@ +name: Build and Deploy + +on: + push: + branches: + - main + +jobs: + publish-gpr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://npm.pkg.github.com/ + scope: '@jqrony' + - run: npm install + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.MY_GITHUB_TOKEN}}