Update README.md #740
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: Admin Panel Workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["13"] | |
name: Node ${{ matrix.node }} sample | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Cache NPM dependencies | |
uses: actions/cache@v1 | |
with: | |
path: web/node_modules | |
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.OS }}-npm-cache- | |
- name: Install yarn dependencies | |
working-directory: ./web | |
run: yarn --frozen-lockfile | |
- name: Build | |
working-directory: ./web | |
run: yarn build |