Skip to content

Commit

Permalink
Update nodejs in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Aug 13, 2022
1 parent 6f713ac commit 11c55e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
- run: npm ci
- run: npm run lint && npm run coverage
env:
BOT_TOKEN: ${{secrets.BOT_TOKEN}}
TESTBOT_TOKEN: ${{secrets.TESTBOT_TOKEN}}
GUILD_ID: ${{secrets.GUILD_ID}}
WITAI_KEY: ${{secrets.WITAI_KEY}}
BOT_TOKEN: ${{secrets.BOT_TOKEN}}
TESTBOT_TOKEN: ${{secrets.TESTBOT_TOKEN}}
GUILD_ID: ${{secrets.GUILD_ID}}
WITAI_KEY: ${{secrets.WITAI_KEY}}
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm run build
Expand Down

0 comments on commit 11c55e3

Please sign in to comment.