Hopefully fix issues running CI on remote forks

This commit is contained in:
Gabe Kangas
2022-09-05 12:33:01 -07:00
parent 7981efcde5
commit da73ed9f20
4 changed files with 26 additions and 7 deletions

View File

@@ -15,11 +15,16 @@ jobs:
defaults:
run:
working-directory: ./web
name: Build webapp
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Install Dependencies
run: npm install