From e16cc314829043f209c5416d730f846a45f9ddd7 Mon Sep 17 00:00:00 2001 From: Enes Ozturk Date: Sun, 12 Dec 2021 14:01:47 +0300 Subject: [PATCH] chore: update workflow files --- .../{deploy-documentation.yml => deploy.yml} | 0 .github/workflows/test-deploy.yml | 22 +++++++++++++++++++ 2 files changed, 22 insertions(+) rename .github/workflows/{deploy-documentation.yml => deploy.yml} (100%) create mode 100644 .github/workflows/test-deploy.yml diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy.yml similarity index 100% rename from .github/workflows/deploy-documentation.yml rename to .github/workflows/deploy.yml diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml new file mode 100644 index 0000000..2bc9b21 --- /dev/null +++ b/.github/workflows/test-deploy.yml @@ -0,0 +1,22 @@ +name: Test deployment + +on: + pull_request: + branches: [main] + paths: [website/**] + +jobs: + test-deploy: + name: Test deployment + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14.x + cache: yarn + - name: Test build + working-directory: website + run: | + yarn install --frozen-lockfile + yarn build