Skip to content

Move the includes logic, helping determine if a file is previewable #80

Move the includes logic, helping determine if a file is previewable

Move the includes logic, helping determine if a file is previewable #80

name: node build and test
on:
push:
branches: [ main ]
paths:
- 'actions/status-checker/**' # Only run for TypeScript action updates
pull_request:
branches: [ main ]
paths:
- 'actions/status-checker/**' # Only run for TypeScript action updates
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Use Node.js 18
uses: actions/setup-node@main
with:
node-version: 18
cache: 'npm'
cache-dependency-path: ./actions/status-checker/package-lock.json
- run: |
cd ./actions/status-checker/
npm ci
npm run build --if-present
npm test