Skip to content

v1.2.0

v1.2.0 #10

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@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup NodeJS Environment
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
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 }}