Skip to content

Fix HTML element IDs not being unique to one Lightsheet instance #281

Fix HTML element IDs not being unique to one Lightsheet instance

Fix HTML element IDs not being unique to one Lightsheet instance #281

name: GitHub Actions - Lightsheet
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test