Skip to content

Commit

Permalink
test devtools env
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Aug 30, 2024
1 parent 890e0b5 commit 2e0443a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Test

env:
LERNA: [email protected]

on:
pull_request:
branches:
Expand Down Expand Up @@ -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/
2 changes: 1 addition & 1 deletion storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2e0443a

Please sign in to comment.