From 4661c6cb77f7afd0cee6fae88f9580d1f3f3a012 Mon Sep 17 00:00:00 2001 From: Mo Date: Thu, 24 Nov 2022 08:43:54 -0600 Subject: [PATCH] chore: e2e tests opt in --- .github/workflows/publish.yml | 8 ++++---- packages/web/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cdfc9ddbf..5dc420b1e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,20 +50,20 @@ jobs: run: yarn test - name: Login to Docker Hub - if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" + if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Publish SNJS Docker image for E2E testing - if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" + if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" run: | yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }} docker push standardnotes/snjs:${{ github.sha }} - name: Run E2E test suite - if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" + if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" uses: convictional/trigger-workflow-and-wait@v1.6.1 with: owner: standardnotes @@ -85,7 +85,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_TOKEN }} - name: Publish SNJS Docker image as stable - if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" + if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" run: | docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest docker push standardnotes/snjs:latest diff --git a/packages/web/package.json b/packages/web/package.json index fdda1a275..cc147dfe9 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -3,7 +3,7 @@ "version": "3.108.0", "license": "AGPL-3.0-or-later", "main": "dist/app.js", - "author": "Standard Notes", + "author": "Standard Notes.", "private": true, "files": [ "dist"