diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fe11a032a..7bd95c45b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,6 +21,7 @@ on: env: BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }} + LERNA: lerna@6.6.2 jobs: test: @@ -33,18 +34,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 + - name: Publish 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 + 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,