v0.111.6 #347
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 to NPM | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v4 | |
- run: docker network create --driver bridge textit_default | |
- name: Build and run dev container task | |
uses: devcontainers/[email protected] | |
with: | |
runCmd: yarn run build | |
push: never | |
env: | | |
CI=true | |
- name: Publish | |
run: | | |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN | |
npm publish --access public | |
env: | |
CI: true | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |