create with
Some checks failed
CI / build (20.x) (push) Has been cancelled
CI / build (22.x) (push) Has been cancelled

> wiki-plugin-useraccesstokens@0.1.0 npx
> create-wiki-plugin

Usage: npm create wiki-plugin <new-plugin-name>
e.g. npm create wiki-plugin CoolThing and write requirements in README.
This commit is contained in:
2025-06-20 17:59:49 -05:00
commit d961cbb51d
20 changed files with 1951 additions and 0 deletions

34
.github/workflows/check.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Prettier Check
on: [pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Run Prettier check
run: npm run prettier:check
- name: Annotate Pull Request with Results
if: failure()
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '⚠️ Prettier found formatting issues. Please fix them.'
})

27
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Releases https://github.com/nodejs/release#release-schedule
node-version:
- 20.x # Maintenance
- 22.x # Active
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test