chore(angular-v12/ci): add test for angular v12 #3
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: Testing Angular v12 | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
dependencies: | |
name: "install dependencies" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout under $GITHUB_WORKSPACE" | |
uses: "actions/checkout@master" | |
- name: "Set up NodeJS" | |
uses: "actions/setup-node@master" | |
with: | |
node-version: 14 | |
- name: "Install yarn" | |
run: yarn --cwd=packages/angular-v12 install | |
- name: "Cache files" | |
uses: "actions/cache@master" | |
id: "main-files" | |
with: | |
path: "./packages/angular-v12/*" | |
key: "${{ github.sha }}" | |
test: | |
name: running tests | |
needs: dependencies | |
if: ${{ success() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up NodeJS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: "Restore cache files" | |
uses: "actions/cache@master" | |
id: "main-files" | |
with: | |
path: "./packages/angular-v12/*" | |
key: "${{ github.sha }}" | |
- name: Run tests | |
run: yarn --cwd=packages/angular-v12 test |