fix: Upload artifact v4 #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |