Browse Source

Use latest npm version

MarkusRost 3 years ago
parent
commit
cd6f7ca5a4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/nodejs.yml

+ 1 - 0
.github/workflows/nodejs.yml

@@ -29,6 +29,7 @@ jobs:
       uses: actions/setup-node@v1
       uses: actions/setup-node@v1
       with:
       with:
         node-version: ${{ matrix.node-version }}
         node-version: ${{ matrix.node-version }}
+    - run: npm i -g npm@latest
     - run: npm ci
     - run: npm ci
     - run: npm run build --if-present
     - run: npm run build --if-present
     - run: sed -i -e 's/"<Discord bot token>"/"${{secrets.DISCORD_TOKEN}}"/g' .env
     - run: sed -i -e 's/"<Discord bot token>"/"${{secrets.DISCORD_TOKEN}}"/g' .env