Skip to content

GitHub Actions for extensions that have tests #1

GitHub Actions for extensions that have tests

GitHub Actions for extensions that have tests #1

Workflow file for this run

name: Tests - loading-states
on:
push:
branches: [ main ]
paths:
- 'src/loading-states/**'
- '.github/workflows/loading-states.yml'
pull_request:
branches: [ main ]
paths:
- 'src/loading-states/**'
- '.github/workflows/loading-states.yml'
workflow_dispatch:
jobs:
test_suite:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
working-directory: ./src/loading-states
- run: npm test
working-directory: ./src/loading-states