diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55e0a29..be5f9b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,16 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: v22.12.0 - - name: Create .npmrc + node-version: v24.12.0 + - name: Enable Corepack + run: corepack enable + - name: Create .yarnrc.yml run: | - echo "@OrdinarySMP:registry=https://npm.pkg.github.com" > .npmrc - echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc + echo "nodeLinker: node-modules" > .yarnrc.yml + echo "npmScopes:" >> .yarnrc.yml + echo " OrdinarySMP:" >> .yarnrc.yml + echo " npmRegistryServer: "https://npm.pkg.github.com"" >> .yarnrc.yml + echo " npmAuthToken: ${{ secrets.GITHUB_TOKEN }}" >> .yarnrc.yml - name: Install commitlint run: yarn add commitlint@latest conventional-changelog-conventionalcommits @commitlint/config-conventional - name: Validate current commit (last commit) with commitlint @@ -45,11 +50,16 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: v22.12.0 - - name: Create .npmrc + node-version: v24.12.0 + - name: Enable Corepack + run: corepack enable + - name: Create .yarnrc.yml run: | - echo "@OrdinarySMP:registry=https://npm.pkg.github.com" > .npmrc - echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc + echo "nodeLinker: node-modules" > .yarnrc.yml + echo "npmScopes:" >> .yarnrc.yml + echo " OrdinarySMP:" >> .yarnrc.yml + echo " npmRegistryServer: "https://npm.pkg.github.com"" >> .yarnrc.yml + echo " npmAuthToken: ${{ secrets.GITHUB_TOKEN }}" >> .yarnrc.yml - name: Install dependencies run: yarn install --frozen-lockfile - name: Run typecheck diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2740737..b8676d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,11 +15,16 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: v22.12.0 - - name: Create .npmrc + node-version: v24.12.0 + - name: Enable Corepack + run: corepack enable + - name: Create .yarnrc.yml run: | - echo "@OrdinarySMP:registry=https://npm.pkg.github.com" > .npmrc - echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc + echo "nodeLinker: node-modules" > .yarnrc.yml + echo "npmScopes:" >> .yarnrc.yml + echo " OrdinarySMP:" >> .yarnrc.yml + echo " npmRegistryServer: "https://npm.pkg.github.com"" >> .yarnrc.yml + echo " npmAuthToken: ${{ secrets.GITHUB_TOKEN }}" >> .yarnrc.yml - name: Install dependencies run: yarn install --frozen-lockfile - name: Run build diff --git a/.gitignore b/.gitignore index 3f5a3bb..84a0396 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ logs .env.* !.env.example .npmrc +.yarnrc.yml +.yarn diff --git a/app/components/card/application.vue b/app/components/card/application.vue index 9f21fbc..ae12623 100644 --- a/app/components/card/application.vue +++ b/app/components/card/application.vue @@ -17,7 +17,7 @@ const { data } = await useApi>(