1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2026-04-20 05:46:54 +02:00
Files
deka-dom-el/.github/workflows/npm-publish.yml
2026-04-08 17:43:22 +02:00

20 lines
539 B
YAML

name: Publish Package to npmjs
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
environment: default
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: '20.16'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}