Skip to content

Nightly Build

Nightly Build #128

Workflow file for this run

name: Nightly Build
on:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
workflow_dispatch:
jobs:
nighlty:
name: Nightly build job
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
node-version: [18]
os: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
- name: Check cache
uses: actions/cache@v2
id: node-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-modules-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- name: Install node modules
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Build app
run: nx run web:build