diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f865fbe..fc6a90a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,32 +2,37 @@ name: CI on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: - test: + build-and-test: + name: Build & Test (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest - + strategy: matrix: node-version: [16.x, 18.x, 20.x] - + steps: - - uses: actions/checkout@v4 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Run tests - run: npm test - continue-on-error: true \ No newline at end of file + - name: Checkout code + uses: actions/checkout@v4 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Lint + run: npm run lint + + - name: Build + run: npm run build + + - name: Run tests + run: npm test \ No newline at end of file diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 31c73d4..89306da 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -11,29 +11,42 @@ permissions: id-token: write concurrency: - group: pages - cancel-in-progress: false + group: "pages" + cancel-in-progress: true jobs: build: + name: Build Docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 20 - - run: npm ci - - run: npm run docs:build - - uses: actions/upload-pages-artifact@v3 + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build docs + run: npm run docs:build + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: path: docs/.vitepress/dist deploy: + name: Deploy Docs environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} needs: build runs-on: ubuntu-latest steps: - - id: deployment + - name: Deploy to GitHub Pages + id: deployment uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4680616..2c0f7a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## [Unreleased] +## [1.1.5] +- windows compatibility + +## [1.1.4] +- skipped ## [1.1.3] - "gemini reads, claude edits" diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 7185c30..67d56a6 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -6,7 +6,7 @@