Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: read

env:
NUXT_TELEMETRY_DISABLED: 1

Expand All @@ -22,7 +25,16 @@ jobs:
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: ".tool-versions"
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn dev:prepare
- run: yarn lint
- name: Setup npm 12
run: npm install -g npm@12.2.1 --engine-strict=false
- name: Get npm cache directory
id: npm-cache
run: echo "dir=$(npm config get cache)/_cacache" >> "$GITHUB_OUTPUT"
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ${{ steps.npm-cache.outputs.dir }}
# Exact key only: avoid restore-keys fallback that can reuse an unrelated lockfile's cache.
key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- run: npm ci
- run: npm run dev:prepare
- run: npm run lint
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24.x"
node-version-file: ".tool-versions"
registry-url: "https://registry.npmjs.org/"
package-manager-cache: false
- run: yarn install --frozen-lockfile
- name: Setup npm 12
run: npm install -g npm@12.2.1 --engine-strict=false
- run: npm ci
- name: release on npm
run: npm publish
3 changes: 1 addition & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
shamefully-hoist=true
strict-peer-dependencies=false
min-release-age=7
registry=https://npm.flatt.tech
strict-allow-scripts=true
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 24.22.2
nodejs 26.13.0
Loading
Loading