Update decks table to use mui x datagrid for better filtering/sorting #30
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: Frontend Build | |
on: | |
pull_request: | |
branches: | |
- master | |
- dev | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
# Caching node_modules based on package-lock.json | |
- name: Cache node_modules | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: node-modules-${{ hashFiles('package-lock.json') }} | |
restore-keys: | | |
node-modules- | |
# Install dependencies using npm ci for clean install and lockfile guarantee | |
- name: Install dependencies | |
run: npm ci | |
- name: Inject Exports | |
run: echo 'const awsmobile = {}; export default awsmobile;' > ./src/aws-exports.js | |
- name: Run Build | |
run: npm run build |