From b7057eb1b447acc26deaef1e1d8456a6acf119da Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Mon, 19 Apr 2021 11:50:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Publicodes=20v1.0.0-beta.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (4eme tentative) --- .github/workflows/publish-publicodes.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-publicodes.yaml b/.github/workflows/publish-publicodes.yaml index f830d902e..9542c9b7c 100644 --- a/.github/workflows/publish-publicodes.yaml +++ b/.github/workflows/publish-publicodes.yaml @@ -24,6 +24,8 @@ jobs: publish: needs: test runs-on: ubuntu-18.04 + env: + NPM_TOKEN: ${{ secrets.NPM_PUBLISH_SECRET }} steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -31,13 +33,9 @@ jobs: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-v2 - run: yarn install --frozen-lockfile - env: - NPM_TOKEN: ${{ secrets.NPM_PUBLISH_SECRET }} - working-directory: ./publicodes/core run: | - npm publish ${{ github.ref != 'refs/heads/master' && '--dry-run' || ''}} npm publish ${{ github.ref != 'refs/heads/master' && '--dry-run' || ''}} --tag next - working-directory: ./publicodes/ui-react run: | - npm publish ${{ github.ref != 'refs/heads/master' && '--dry-run' || ''}} npm publish ${{ github.ref != 'refs/heads/master' && '--dry-run' || ''}} --tag next