From 6a37d454cd241ec77ee7d9328c13b22aa00295fc Mon Sep 17 00:00:00 2001 From: Julien Schneider Date: Wed, 29 Nov 2023 11:38:35 +0100 Subject: [PATCH] fix: reset e2e (#602) --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cee9e1c7c..da6fb5984 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,6 +83,12 @@ jobs: # run: make get-test-data-from-release # - name: Prepare test data # run: make prepare-test-data + - name: Build lib + run: make build + - name: Prepare test environment + run: make prepare-test-ci + - name: Run e2e tests + run: make e2e-tests release-please: name: Prepare next release @@ -123,12 +129,7 @@ jobs: run: npm run build - if: "github.event.release.prerelease" name: Publish pre-release to GitHub packages - run: | - echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" >> .npmrc - - npm publish ${{env.DistDirectory}} --tag rc --access public - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_DASCHBOT}} + run: npm publish ${{env.DistDirectory}} --registry=https://npm.pkg.github.com/ --_authToken=${{secrets.GITHUB_TOKEN}} --tag rc --access public - if: "!github.event.release.prerelease" name: Publish release to GitHub packages run: npm publish ${{env.DistDirectory}} --registry=https://npm.pkg.github.com/ --_authToken=${{secrets.GITHUB_TOKEN}} --access public