Skip to content

Merge pull request #47 from DylanHojnoski/bucket-delete-bug #347

Merge pull request #47 from DylanHojnoski/bucket-delete-bug

Merge pull request #47 from DylanHojnoski/bucket-delete-bug #347

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/[email protected]
with:
node-version: '16'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn dependencies
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
env:
NEXT_PUBLIC_API_ENDPOINT: https://api.michigantechcourses.com
NEXT_PUBLIC_GIT_REVISION: random-sha