Placeholders like in the Networthy calculator #10
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 PR | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/workflows/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Configure github | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "GitHub Action" | |
git remote -v | |
git remote set-url origin [email protected]:${GITHUB_REPOSITORY}.git | |
git remote -v | |
- name: Install node packages | |
run: npm install | |
- name: BUILD | |
run: npm run build | |
- name: TEST | |
run: npm test |