⚗️ alternative npm registry setup

This commit is contained in:
Nikolay Kharitonov
2023-12-05 18:35:22 +00:00
parent dbba7665e1
commit 55525dc2a9

View File

@@ -18,11 +18,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '10.x'
registry-url: 'https://npm.pkg.github.com'
- name: 👷 Install
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 🔐 Setup npm registry (github)
run: npm config set registry https://npm.pkg.github.com
- name: 📦️ Publish package (github registry)
if: github.ref_name == 'master'
run: npm publish