Skip to content

Commit

Permalink
chore: climb out of dependency hell victorious
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Sep 14, 2023
1 parent cc12879 commit 9ce580e
Show file tree
Hide file tree
Showing 8 changed files with 26,024 additions and 90,754 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,29 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache: 'pnpm'
- name: Setup XMLLint bc otherwise break
run: sudo apt-get install libxml2-utils -y
- run: npm install --no-frozen-lockfile
- run: npm run ci

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- run: pnpm run ci
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
src
node_modules
pnpm-lock.yaml
package-lock.json
core
tsconfig.json
tsup.config.ts
test
Expand Down
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
enable-pre-post-scripts=true
ignore-workspace-root-check=true
ignore-workspace-root-check=true
hoist-pattern[]=!@types/react
2 changes: 1 addition & 1 deletion core
Submodule core updated 2 files
+12 −54 package-lock.json
+4 −2 package.json
Loading

0 comments on commit 9ce580e

Please sign in to comment.