From dd253cd8df106a97deeb4e57b7a90b9c974cf843 Mon Sep 17 00:00:00 2001 From: Evyatar Date: Fri, 15 Sep 2023 21:47:25 +0200 Subject: [PATCH] Check integration script --- .github/workflows/integration.yml | 17 +++++++++++------ package.json | 3 +-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2d8077593..135b9f41d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -30,17 +30,21 @@ jobs: fetch-depth: 0 - name: Setup .yarnrc.yml run: | - yarn config set npmAuthToken $NPM_TOKEN + + yarn config set npmAuthToken $npmPublishToken yarn config set npmAlwaysAuth true - echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > ~/.npmrc + echo //registry.npmjs.org/:_authToken=$npmPublishToken > ~/.npmrc env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + npmPublishToken: ${{secrets.NPM_PUBLISH_TOKEN}} - name: Install run: yarn install --immutable - - name: Test - run: yarn test - - name: Lint - run: yarn lint + # - name: Test + # run: | + # yarn build --fastBuild + # yarn test + # - name: Lint + # run: yarn lint - name: Release run: yarn release env: @@ -55,3 +59,4 @@ jobs: EMAIL_ADDRESS: ${{secrets.EMAIL_ADDRESS}} GIT_NAME: ${{secrets.GIT_NAME}} npmAuthToken: ${{secrets.NPM_TOKEN}} + npmPublishToken: ${{secrets.NPM_PUBLISH_TOKEN}} diff --git a/package.json b/package.json index dd33c433d..cbac14966 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "prepare": "husky install", "dev": "vx dev", "website:start": "yarn workspace website start", - "website:build": "yarn workspace website build", - "postinstall": "vx build --fastBuild" + "website:build": "yarn workspace website build" }, "prettier": { "arrowParens": "avoid",