Skip to content

add tea constitution file #56

add tea constitution file

add tea constitution file #56

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: Cache node_modules
uses: actions/cache@v2
env:
cache-name: build-prod
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-node-cache-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-cache-${{ env.cache-name }}-
- name: Install dependencies
run: npm ci
- name: Build for production
run: npm run prod