Skip to content

Commit

Permalink
build: upgrade to yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Nov 27, 2023
1 parent f6ac9eb commit ef47700
Show file tree
Hide file tree
Showing 9 changed files with 5,002 additions and 5,487 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Nix Test & Cache

on:
push:
branches: [main]
paths: ["**.nix", "**.ts", "**.nix"]
pull_request:
paths: ["**.nix", "**.ts", "**.nix"]
workflow_dispatch:

jobs:
build:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Setup cachix
uses: cachix/cachix-action@v12
with:
name: "catppuccin"
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
skipPush: ${{ github.ref != 'refs/heads/main' }}

- name: Flake check
run: nix flake check -Lv

- name: Build packages
run: nix build -L .
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarn/plugins/yarn-plugin-nixify.cjs

Large diffs are not rendered by default.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.3.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/plugin-list.cjs
spec: "https://github.com/arendjr/yarn-plugin-list/releases/latest/download/yarn-plugin-list.js"
- path: .yarn/plugins/yarn-plugin-nixify.cjs
- checksum: 4ae37aa0a6a0d226889f66fb2f7482e321b0c82b8fa8ed2110d8cdfbd482c87542050ded54cb08bf473e4245ef0160668c689c93848416499a975d876a1e18b1
path: .yarn/plugins/yarn-plugin-nixify.cjs
spec: "https://raw.githubusercontent.com/stephank/yarn-plugin-nixify/main/dist/yarn-plugin-nixify.js"

yarnPath: .yarn/releases/yarn-3.6.3.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,5 @@
"storybook": "storybook dev -p 6006",
"update-types": "tsx src/hooks/updateVSCtypes.ts"
},
"packageManager": "yarn@3.6.3"
"packageManager": "yarn@4.0.2"
}
1,642 changes: 820 additions & 822 deletions yarn-project.nix

Large diffs are not rendered by default.

Loading

0 comments on commit ef47700

Please sign in to comment.