Skip to content

Implemented Goals Functionality page #109

Implemented Goals Functionality page

Implemented Goals Functionality page #109

Workflow file for this run

# Reference: <https://help.github.com/en/actions/language-and-framework-guides/using-nodejs-with-github-actions>
name: Build
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Setup Pages
uses: actions/configure-pages@v3
# - name: Restore Cache
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-node-
# Below is temporary due to <https://github.com/npm/cli/issues/4828>
# Maybe related to using devcontainer locally?
- name: Delete node_modules and package-lock.json
run: |
rm -rf node_modules
rm package-lock.json
- name: Install dependencies
run: npm install
- name: Build Application
run: npm run generate
- name: Generate PWA Assets
run: npm run generate-pwa-assets
# - name: Run Unit Tests
# run: npm run test