From 3e25c032ab8559b9705358a84af3fcf6930d2272 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Mon, 21 Mar 2022 19:18:09 -0500 Subject: [PATCH] Fix docker-compose.yml and add npmjs release as a workflow --- .github/workflows/release.yml | 14 ++++++++++++++ docker-compose.yml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ce3645..2214265 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,3 +45,17 @@ jobs: draft: true generateReleaseNotes: true token: ${{ secrets.GITHUB_TOKEN }} + + npmjs-publish: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install dependencies + run: yarn + + - name: Publish to NPM.js + run: yarn publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/docker-compose.yml b/docker-compose.yml index 6ce82f4..8779f30 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,4 +14,4 @@ services: MONGO_URI: "mongodb://mongo:27017/AWESOME" TOKEN: "" CLIENT_ID: "" - TESTING_GUIDE: "" + TESTING_GUILD: ""