From 85d7be9531b4a4646619994dfa3b710dcf286c7f Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 22 Nov 2023 09:15:45 +0100 Subject: [PATCH] workflow deploy chromatic --- .../workflows/frontend.deploy.chromatic.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/frontend.deploy.chromatic.yml diff --git a/.github/workflows/frontend.deploy.chromatic.yml b/.github/workflows/frontend.deploy.chromatic.yml new file mode 100644 index 0000000..daa1fb0 --- /dev/null +++ b/.github/workflows/frontend.deploy.chromatic.yml @@ -0,0 +1,18 @@ +name: "frontend:deploy:chromatic" +on: [push] +#on: +# push: +# branches: +# - master +jobs: + build-and-deploy: + name: Chromatic - Frontend + runs-on: ubuntu-latest + env: + CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Frontend | Build + run: npm install && npm run chromatic -- --exit-zero-on-changes \ No newline at end of file