Skip to content

Commit

Permalink
Cleanup workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Philippe Zolesio committed Jan 25, 2024
1 parent 05e9e60 commit 0e1438d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
node-version: 18
cache: 'yarn'
- name: install
run: yarn install
- run: (cd demo-react/app; yarn install)
- run: (cd demo-react/iframe; yarn install)
- run: yarn run test -- --headless
# - name: Check what user is logged in
# run: npm whoami
# env:
# # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
# - name: Publish package on NPM 📦
# run: npm whoami && npm whoami && npm publish --dry-run && npm publish --verbose
# env:
# # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
- run: yarn run build
- uses: JS-DevTools/npm-publish@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 0e1438d

Please sign in to comment.