Skip to content

Creating a readonly branch to preserve the working state #2

Creating a readonly branch to preserve the working state

Creating a readonly branch to preserve the working state #2

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Prepare
run: npm ci
- name: Build
run: npm run build