Migrate OrderHistoryFactory to Angular #88
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: Angular Build and Test Workflow | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js 21 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '21' | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies and build (Angular app) | |
run: | | |
cd app-new | |
pnpm install | |
pnpm run build | |
cd .. | |
- name: Setup Node.js 6 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '6' | |
- name: Install dependencies and run tests (using npm) | |
run: | | |
npm install | |
npm run test |