Skip to content

Commit

Permalink
Create cms-node.js.yml
Browse files Browse the repository at this point in the history
created a job for CMS, commented the runner out as we know it locks up at 50% for now
  • Loading branch information
KitLykos authored Sep 9, 2024
1 parent 4789910 commit d99e021
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cms-node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: CMS CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
env:
NODE_OPTIONS: --max_old_space_size=8192
- run: npm init -y
- run: npm install
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm install -g @unlighthouse/cli puppeteer
# - run: npx unlighthouse-ci --site https://cms.gov --config-file .github/workflows/unlighthouse.config-cms.ts

0 comments on commit d99e021

Please sign in to comment.