From 2e0443a9374ddec689a4bdde64f235a2c29e7907 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Fri, 30 Aug 2024 13:36:10 +0530 Subject: [PATCH] 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,