From fac91c0bafbfa270ceee7b60a21050a16fc103b3 Mon Sep 17 00:00:00 2001 From: williamcruzme Date: Wed, 21 Apr 2021 00:49:23 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20yarn-publish.yml=20updated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/yarn-publish.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/yarn-publish.yml b/.github/workflows/yarn-publish.yml index dd0f1d0..a4fab8f 100644 --- a/.github/workflows/yarn-publish.yml +++ b/.github/workflows/yarn-publish.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: - node-version: '12.x' - - run: yarn install --frozen-lockfile + node-version: 12 + - run: yarn - run: yarn build publish-npm: @@ -23,27 +23,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: - node-version: '12.x' + node-version: 12 registry-url: https://registry.npmjs.org/ - always-auth: true - - run: yarn install --frozen-lockfile + - run: yarn - run: yarn publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} publish-gpr: needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: - node-version: '12.x' + node-version: 12 registry-url: https://npm.pkg.github.com/ - always-auth: true - - run: yarn install --frozen-lockfile + - run: yarn - run: yarn publish env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}