From ed594165038d7722f39f691875f97b313a98b298 Mon Sep 17 00:00:00 2001 From: Popov Aleksey Date: Tue, 17 Oct 2023 11:01:07 +0300 Subject: [PATCH 1/2] github-actions: fix publish workflow --- .github/workflows/publish.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ab9cb1c..a733524 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,17 @@ jobs: runs-on: ubuntu-latest environment: release steps: - - uses: DevExpress/testcafe-build-system/actions/publish-with-publish-please@main + - uses: DevExpress/testcafe-build-system/actions/prepare@main + with: + node-version: 16 + + - run: cd demo-app && npm i --force && cd .. + + - uses: DevExpress/testcafe-build-system/actions/build-npm@main + + - uses: DevExpress/testcafe-build-system/actions/login-npm@main with: token: ${{ secrets.NPM_TOKEN }} + + - shell: bash + run: npx publish-please || (git status && false) \ No newline at end of file From 8351e8299b7e7b582beb3094431c43e4c946fc8a Mon Sep 17 00:00:00 2001 From: Popov Aleksey Date: Tue, 17 Oct 2023 11:10:32 +0300 Subject: [PATCH 2/2] gihub-actions: updated node version for publishing --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a733524..c33bc75 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: DevExpress/testcafe-build-system/actions/prepare@main with: - node-version: 16 + node-version: 18 - run: cd demo-app && npm i --force && cd ..