Changes
2 changed files (+33/-0)
-
-
@@ -0,0 +1,27 @@name: Publish to NPM on: push: tags: - v* jobs: publish_npm: name: Publish to NPM runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: yarn - name: Install dependencies run: yarn install --immutable - name: Publish the package run: | npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN npm publish --access public env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
-
-
-
@@ -50,3 +50,9 @@ ### Helper scriptsPackages inside `scripts/` directory is only for our development, not meant to be published to a package registory. See README on each directory for more details. ## Release workflow 1. Bump the version by using [`npm version`](https://docs.npmjs.com/cli/v8/commands/npm-version) 2. Push the automatically created git commit and git tag 3. CI build and push the version to npm, wait for it
-