ED-104 Fix 404 after sign up for new users #320
Workflow file for this run
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 Authorisation action | |
env: | |
CONTAINER: authorisation | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/pr_authorisation.yaml" | |
- "build/**" | |
- "code/yarn.lock" | |
- "code/workspaces/common/**" | |
- "code/workspaces/auth-service/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: npm-cache-${{ env.CONTAINER }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: npm-cache-${{ env.CONTAINER }}- | |
- name: Set up node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Validate build | |
run: ./build/validate-build.sh ${{ env.CONTAINER }} | |
shell: bash |