Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

build(deps): Bump actions/setup-node from 3.6.0 to 3.7.0 #106

build(deps): Bump actions/setup-node from 3.6.0 to 3.7.0

build(deps): Bump actions/setup-node from 3.6.0 to 3.7.0 #106

Workflow file for this run

name: CI
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
ci:
strategy:
matrix:
command: ['build', 'build:staging']
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: '16'
- name: clean install
run: npm ci
- name: ${{ matrix.command }}
run: npm run ${{ matrix.command }}
- name: ensure hugo_stats.json populated with > 100 lines
run: |
if [ $(wc -l < ./hugo_stats.json) -gt 100 ]; then
echo "hugo_stats.json populated with > 100 lines"
else
echo "hugo_stats.json not populated with > 100 lines"
exit 1
fi