From ba4ea6c4863f21fee27c0f381d4f0f4f03eea22e Mon Sep 17 00:00:00 2001 From: Jakub Mucha Date: Wed, 7 Sep 2022 19:19:30 +0200 Subject: [PATCH 1/5] ci: chown Signed-off-by: Jakub Mucha --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c3ab13b0..94d5c48a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,10 @@ jobs: ${{ runner.os }}-yarn-v1- continue-on-error: true + # fixes permission issues on docker + - name: Chown workspace + run: chown -R $(whoami) . + - name: Install dependencies run: yarn --prefer-offline --no-audit From 7015f98a25cc91ed2b7af24c11430710b2d62595 Mon Sep 17 00:00:00 2001 From: Jakub Mucha Date: Wed, 7 Sep 2022 19:25:51 +0200 Subject: [PATCH 2/5] ci: remove -- Signed-off-by: Jakub Mucha --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94d5c48a5..9c404984d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,7 +79,7 @@ jobs: if: github.event_name == 'workflow_dispatch' run: | git reset --hard - yarn release:${{ github.event.inputs.version }} -- --ci + yarn release:${{ github.event.inputs.version }} --ci env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -95,9 +95,9 @@ jobs: echo ${{ steps.extract-version.outputs.current-version }} if echo ${{ steps.extract-version.outputs.current-version }} | grep -q "beta"; then - yarn release -- --ci --preRelease + yarn release --ci --preRelease else - yarn release:patch -- --ci --preRelease=beta + yarn release:patch --ci --preRelease=beta fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 868014b521b8efb27e8b3ccf38af9868fa96d12c Mon Sep 17 00:00:00 2001 From: Jakub Mucha Date: Wed, 7 Sep 2022 19:28:48 +0200 Subject: [PATCH 3/5] ci: use yarn to publish Signed-off-by: Jakub Mucha --- .github/workflows/release.yml | 3 +++ .release-it.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c404984d..c5c2393c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,7 @@ jobs: run: | git reset --hard yarn release:${{ github.event.inputs.version }} --ci + yarn publish --non-interactive env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -96,8 +97,10 @@ jobs: echo ${{ steps.extract-version.outputs.current-version }} if echo ${{ steps.extract-version.outputs.current-version }} | grep -q "beta"; then yarn release --ci --preRelease + yarn publish --non-interactive else yarn release:patch --ci --preRelease=beta + yarn publish --non-interactive fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-it.json b/.release-it.json index 778629103..63e43d67e 100644 --- a/.release-it.json +++ b/.release-it.json @@ -9,6 +9,6 @@ "release": true }, "npm": { - "publish": true + "publish": false } } From 0cdfd6e0ec766657da169e0445c058adba586402 Mon Sep 17 00:00:00 2001 From: Jakub Mucha Date: Wed, 7 Sep 2022 19:29:17 +0200 Subject: [PATCH 4/5] release: v2.0.2-beta.0 Signed-off-by: Jakub Mucha --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 964da95c4..25c2fb8dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@synthetixio/synpress", - "version": "2.0.1", + "version": "2.0.2-beta.0", "description": "Synpress in an wrapper around Cypress test runner which extends its capabilities with conjunction of Puppeteer. It's used used across Synthetix projects.", "keywords": [ "Synpress", From 17a10714a163826ef08ccc6d4195ff912579c259 Mon Sep 17 00:00:00 2001 From: Jakub Date: Wed, 7 Sep 2022 17:30:04 +0000 Subject: [PATCH 5/5] release: v2.0.2-beta.1 Signed-off-by: Jakub --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 25c2fb8dc..a3a74e56b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@synthetixio/synpress", - "version": "2.0.2-beta.0", + "version": "2.0.2-beta.1", "description": "Synpress in an wrapper around Cypress test runner which extends its capabilities with conjunction of Puppeteer. It's used used across Synthetix projects.", "keywords": [ "Synpress",