Skip to content

ci: bump actions/cache from 3.3.1 to 3.3.2 #88

ci: bump actions/cache from 3.3.1 to 3.3.2

ci: bump actions/cache from 3.3.1 to 3.3.2 #88

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.6.0
- name: Cache Node.js modules
uses: actions/cache@v3.3.2
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