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