This repository was archived by the owner on Apr 2, 2026. It is now read-only.
chore(deps): bump multer from 1.4.5-lts.1 to 2.1.1 in /uploader #74
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 @workadventure/room-api-client to NPM | |
| on: | |
| release: | |
| types: [created] | |
| push: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| # Setup .npmrc file to publish to npm | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '18.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Replace version number | |
| run: 'sed -i "s#0.0.0-version-placeholder#${{ github.ref_name }}#g" package.json' | |
| working-directory: "libs/room-api-clients/room-api-client-js" | |
| - name: Debug package.json | |
| run: cat package.json | |
| working-directory: "libs/room-api-clients/room-api-client-js" | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| version: '3.x' | |
| - name: "Install play dependencies" | |
| run: npm ci | |
| working-directory: "libs/room-api-clients/room-api-client-js" | |
| - name: "Build proto" | |
| run: npm run ts-proto | |
| working-directory: "libs/room-api-clients/room-api-client-js" | |
| - name: "Build" | |
| run: npm run build | |
| working-directory: "libs/room-api-clients/room-api-client-js" | |
| - name: Publish package | |
| run: npm publish | |
| working-directory: "libs/room-api-clients/room-api-client-js" | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| if: ${{ github.event_name == 'release' }} |