From 0e1438d1b6ad0391ffa24c7598eb3040d6352b4a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Zolesio Date: Thu, 25 Jan 2024 14:16:42 -0800 Subject: [PATCH] Cleanup workflows --- .github/workflows/npm-publish.yml | 14 ++------------ .github/workflows/npm-run-test.yml | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 40bd128f..c535ddc0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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: diff --git a/.github/workflows/npm-run-test.yml b/.github/workflows/npm-run-test.yml index 8f89b38b..7411b984 100644 --- a/.github/workflows/npm-run-test.yml +++ b/.github/workflows/npm-run-test.yml @@ -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: