Update Github Actions to JDK17 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR builder (sanity check, no deploy) | |
on: | |
pull_request: | |
branches: | |
- website-v2 | |
jobs: | |
prepare-website: | |
uses: ./.github/workflows/base-jobs.yml | |
website-pr: | |
name: Sanity check the Rascal website | |
runs-on: buildjet-4vcpu-ubuntu-2204 | |
needs: prepare-website | |
steps: | |
# Download prepared sources from base | |
- name: Download sources | |
uses: actions/download-artifact@v3 | |
with: | |
name: sources | |
- name: Untar files | |
run: tar -xvf sources.tar | |
# Do a dummy build to see if there are errors | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build website | |
run: yarn build |