isUrlPermittedByManifest
- Add tests for subdomain wildcard (#24)
#118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: {} | |
# FILE GENERATED WITH: npx ghat fregante/ghatemplates/node | |
# SOURCE: https://github.com/fregante/ghatemplates | |
name: CI | |
on: | |
- pull_request | |
- push | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
- name: install | |
run: npm ci || npm install | |
- name: XO | |
run: npx xo | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
- name: install | |
run: npm ci || npm install | |
- name: build | |
run: npm run build --if-present | |
- name: Vitest | |
run: npx vitest run | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
- name: install | |
run: npm ci || npm install | |
- name: build | |
run: npm run build |