From 2e0443a9374ddec689a4bdde64f235a2c29e7907 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Fri, 30 Aug 2024 13:36:10 +0530 Subject: [PATCH 1/3] test devtools env --- .github/workflows/test.yaml | 23 ++++++++++------------- storybook/package.json | 2 +- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fe11a032a..a46ffa8cf 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,5 +1,8 @@ name: Test +env: + LERNA: lerna@6.6.2 + on: pull_request: branches: @@ -33,18 +36,12 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - registry-url: 'https://packages.nuxeo.com/repository/npm-public/' + registry-url: 'https://packages.devtools.nuxeo.com/repository/npm-public/' scope: '@nuxeo' - - name: Install - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} - run: | - npm install --no-package-lock - npm run bootstrap - - - name: Test - env: - SAUCE_USERNAME: nuxeo-elements - SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} - run: npm run test + - name: Publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} + run: | + npx ${{ env.LERNA }} exec --ignore @nuxeo/nuxeo-elements-storybook -- npm publish --@nuxeo:registry=https://packages.devtools.nuxeo.com/repository/npm-public/ + \ No newline at end of file diff --git a/storybook/package.json b/storybook/package.json index 6a9c5c742..3e7067ed5 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -2,7 +2,7 @@ "description": "Nuxeo Web Components Storybook", "repository": "nuxeo/nuxeo-elements.git", "name": "@nuxeo/nuxeo-elements-storybook", - "version": "3.1.12-SNAPSHOT", + "version": "3.1.12-test-SNAPSHOT", "author": "Nuxeo", "license": "Apache-2.0", "private": true, From 628d5024fd9513670a0e6b502222d45831418475 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Fri, 30 Aug 2024 13:38:47 +0530 Subject: [PATCH 2/3] test devtools env --- .github/workflows/test.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a46ffa8cf..08570d74a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -40,8 +40,8 @@ jobs: scope: '@nuxeo' - name: Publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} - run: | - npx ${{ env.LERNA }} exec --ignore @nuxeo/nuxeo-elements-storybook -- npm publish --@nuxeo:registry=https://packages.devtools.nuxeo.com/repository/npm-public/ + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} + run: | + npx ${{ env.LERNA }} exec --ignore @nuxeo/nuxeo-elements-storybook -- npm publish --@nuxeo:registry=https://packages.devtools.nuxeo.com/repository/npm-public/ \ No newline at end of file From befe20f75281348a48da866bfcb6f2f0c7fa9b12 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Fri, 30 Aug 2024 13:40:07 +0530 Subject: [PATCH 3/3] test devtools env --- .github/workflows/test.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 08570d74a..7bd95c45b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,8 +1,5 @@ name: Test -env: - LERNA: lerna@6.6.2 - on: pull_request: branches: @@ -24,6 +21,7 @@ on: env: BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }} + LERNA: lerna@6.6.2 jobs: test: