Skip to content

Preview release for application testing of different library build #17

Preview release for application testing of different library build

Preview release for application testing of different library build #17

Workflow file for this run

name: Publishing
on:
release:
types:
- published
jobs:
publish:
name: docker
runs-on: [self-hosted, Linux, medium, ephemeral]
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup NodeJS Environment
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 18.x
- name: Install dependencies
run: npm install
- name: Create .npmrc
run: |
touch .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Publish
run: npm publish --public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}