Skip to content

ci: bump actions/setup-node from 3.6.0 to 3.8.0 #81

ci: bump actions/setup-node from 3.6.0 to 3.8.0

ci: bump actions/setup-node from 3.6.0 to 3.8.0 #81

name: Verify JSON structure for library manifest
# Triggers the workflow on push or pull request events
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3.8.0
- name: Cache Node.js modules
uses: actions/cache@v3.3.1
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: install jsonlint
run: npm install -g jsonlint
- name: run jsonlint
run: jsonlint -q library.json