chore(angular-v12/ci): add test for angular v12 #6
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: "Copy common components" | |
run: yarn v12-copy-common-components | |
- name: "Copy solid components" | |
run: yarn v12-copy-solid-components | |
- name: "Copy outline components" | |
run: yarn v12-copy-outline-components | |
- name: "Install yarn" | |
run: | | |
yarn --cwd=packages/angular-v12 install | |
yarn --cwd=packages/angular-v12 test | |
- 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: | | |
# ls -al | |
# yarn --cwd=packages/angular-v12 test | |
- name: DEMO | |
run: | | |
ls -al |