From 1a7df58291824be4f3aa94ab4ed4b7514c2dec26 Mon Sep 17 00:00:00 2001 From: SuperFlyXXI Date: Sun, 20 Feb 2022 10:52:21 -0500 Subject: [PATCH] feat: bring back publishing to npm --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f412f4..70cdc1b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,15 +25,15 @@ jobs: - name: Run tests run: yarn test - # publish: - # name: publish - # needs: tests - # runs-on: ubuntu-latest - # if: github.event_name == 'push' && github.ref == 'refs/heads/master' - # steps: - # - uses: actions/checkout@v2 - # - name: Publish - # uses: mikeal/merge-release@master - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + publish: + name: publish + needs: tests + runs-on: ubuntu-latest + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + steps: + - uses: actions/checkout@v2 + - name: Publish + uses: mikeal/merge-release@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}