Skip to content

fix: Upload artifact v4 #2

fix: Upload artifact v4

fix: Upload artifact v4 #2

name: Push NPM
on: push
jobs:
push:
runs-on: ubuntu-latest
name: NPM Push Demo
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run build:vosviewer
- run: npm run build:dimensions
- run: npm run build:zeta-alpha
- run: npm run build:rori
- run: npm run build-component-package
- name: Upload Dimensions app artifact
uses: actions/upload-artifact@v4
with:
name: vosviewer-online-dimensions-app
path: dist/vosviewer-online-dimensions
- name: Upload VOSviewer Online component package artifact
uses: actions/upload-artifact@v3
with:
name: vosviewer-online-lib
path: lib
# - name: Push
# id: push
# uses: ./
# with:
# api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
# command: "push"
# format: "npm"
# owner: "cloudsmith"
# repo: "actions"
# file: "test/fixture/cloudsmith-npm-example-1.0.0.tgz" #real file that will repeat versions