Bump follow-redirects from 1.15.3 to 1.15.4 in /sample-app #67
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: Test and Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
test-and-build: | |
runs-on: ubuntu-latest | |
# Define Node versions to run CI/CD on | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 21.x] | |
steps: | |
# Checkout project | |
- uses: actions/checkout@v3 | |
# Setup Node | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# BACKEND # | |
# Install Packages | |
- name: Install Dependencies for Backend | |
working-directory: ./backend | |
run: npm ci | |
# Run Jest tests | |
- name: Run Tests | |
working-directory: ./backend | |
run: npm run test | |
# FRONTEND # | |
# Install Packages | |
- name: Install Dependencies for Frontend | |
working-directory: ./frontend | |
run: npm ci | |
# Run react-scripts tests | |
# Note: There are currently no tests | |
# - name: Install Dependencies | |
# working-directory: ./frontend | |
# run: npm run test | |
# SAMPLE-APP # | |
# Install Packages | |
- name: Install Dependencies for Sample App | |
working-directory: ./sample-app | |
run: npm ci | |
# Run Jest tests | |
- name: Run Build | |
working-directory: ./sample-app | |
run: npm run build |