Skip to content

Commit

Permalink
Merge pull request #14 from FraxFinance/flatten-deps
Browse files Browse the repository at this point in the history
pnpm - Remove Symlink + dis-allow pnpm constrain on inheriting repos
  • Loading branch information
FortisFortuna authored Dec 30, 2023
2 parents e841e2b + 0f88ec2 commit 6f9547d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: master
pull_request:
jobs:
build:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: 16.x
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.11.0

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: pnpm i
- run: forge build
- run: pnpm test
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public-hoist-pattern=*
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"test": "test"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "forge test",
"prepare": "husky install",
"build": "tsc"
Expand Down

0 comments on commit 6f9547d

Please sign in to comment.