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

build(deps): Bump actions/checkout from 3.6.0 to 4.0.0 #116

build(deps): Bump actions/checkout from 3.6.0 to 4.0.0

build(deps): Bump actions/checkout from 3.6.0 to 4.0.0 #116

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: setup node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
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