Skip to content

jsr config.

jsr config. #6

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
test-build-deploy:
runs-on: ubuntu-latest
permissions:

Check failure on line 11 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Deploy to GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 11, Col: 21): Unexpected value '' .github/workflows/main.yml (Line: 12, Col: 9): Unexpected value 'contents'
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: |
bun install
- name: Test
run: |
bun test
- name: Generate docs
run: |
bunx typedoc src/asu.ts
- name: Generate .nojekyll
run: |
echo "" >> docs/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: docs
- name: Publish to JSR
run: |
bunx jsr publish