Skip to content

Commit

Permalink
CI config with SVG checks (#56)
Browse files Browse the repository at this point in the history
* Add yarn

* Add CI checks

* Update SVG checks

* Checkout

* Process all SVG

* Fix invalid SVGs

* Fix yarn

* Fix unstable svg reference
  • Loading branch information
noisekit authored Dec 18, 2024
1 parent e3345ec commit 9d29045
Show file tree
Hide file tree
Showing 257 changed files with 9,577 additions and 1,514 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2.1

parameters:
node-version:
type: string
default: '22.11.0'

jobs:
checks:
docker:
- image: cimg/node:<< pipeline.parameters.node-version >>
steps:
- checkout
- run: yarn install --immutable
- run: yarn npm audit --recursive --severity critical
- run: yarn dedupe --check
- run: yarn svg:check

workflows:
checks:
jobs:
- checks
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.yalc
.yalc

# Yarn v3
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.3.cjs

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
defaultSemverRangePrefix: ^

enableGlobalCache: true

enableTelemetry: false

nodeLinker: node-modules

npmRegistryServer: "https://registry.npmjs.org"

supportedArchitectures:
cpu:
- x64
- arm64
libc:
- glibc
- musl
os:
- darwin
- linux

yarnPath: .yarn/releases/yarn-4.5.3.cjs
8 changes: 7 additions & 1 deletion collateral/ARB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion collateral/AUSDC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions collateral/CBBTC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions collateral/CBETH.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion collateral/DAI.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion collateral/ETH.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9d29045

Please sign in to comment.