mirror of
https://github.com/storytold/craft-wiki.git
synced 2026-11-20 14:31:05 +01:00
20 lines
468 B
YAML
20 lines
468 B
YAML
name: Worker tests
|
|
|
|
on:
|
|
pull_request:
|
|
paths: [worker/**, .github/workflows/worker-tests.yml]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
- run: node --test worker/index.test.mjs
|