feat: WithHistory
#35
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 CI | |
on: | |
pull_request: | |
types: [ opened,ready_for_review,synchronize ] | |
jobs: | |
build: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
steps: | |
- name: repository checkout | |
uses: actions/checkout@v4 | |
- name: node.js setup | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix['node-version'] }} | |
- name: npm cache settings | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: dependency install | |
run: npm ci | |
- name: angular test | |
run: npm run test | |
- name: angular building | |
run: npm run build |