Skip to content

Continuous Integration #289

Continuous Integration

Continuous Integration #289

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 22 * * 3'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # tag: v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # tag: v7.0.0
with:
node-version: lts/-1
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # tag: v6.1.0
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}-node-modules
- name: Install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn --immutable
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test