Release 0.3.28 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish the package to Github Package Registry | |
on: | |
release: | |
types: [created] | |
permissions: | |
packages: write | |
jobs: | |
github-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2 | |
- name: Set up Node.js | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c #v3.6 | |
with: | |
node-version: 18.x | |
registry-url: "https://npm.pkg.github.com" | |
always-auth: true | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies and build with builder bob | |
run: yarn install --frozen-lockfile | |
- name: Publish Package | |
run: npm publish --access=public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |