Upgrade circleci orbs to fix chromedriver download #82
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: Rebuild | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
release: | |
types: [published] | |
jobs: | |
build-frontend: | |
strategy: | |
matrix: | |
node: [14, 16, 18] | |
os: [ubuntu-latest, macos-latest] | |
name: Rebuild frontend with nodejs ${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
cache-dependency-path: frontend/package-lock.json | |
- name: Install Angular cli | |
run: npm i -g @angular/cli | |
- name: Rebuild frontend | |
run: bash rebuild.sh frontend | |
build-backend: | |
strategy: | |
matrix: | |
node: [14, 16, 18] | |
os: [ubuntu-latest, macos-latest] | |
name: Rebuild backend with nodejs ${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
cache-dependency-path: backend/package-lock.json | |
- name: Rebuild backend | |
run: bash rebuild.sh backend |