Skip to content

Commit

Permalink
Fix up build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
allanhortle committed Oct 10, 2023
1 parent ae811bc commit 1f04198
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'
- run: yarn prep
- run: yarn test-all
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"prep": "yarn && yarn lerna bootstrap",
"build": "lerna run build",
"pub": "yarn build && yarn lerna publish",
"pub-next": "yarn build && yarn lerna publish --npm-tag=next",
"pub:next": "yarn build && yarn lerna publish --npm-tag=next",
"watch": "lerna run watch --parallel --",
"test-all": "lerna run test-all",
"test:all": "lerna run test:all",
"format": "yarn prettier --write .",
"format-quick": "yarn pretty-quick --staged"
"format:quick": "yarn pretty-quick --staged"
},
"husky": {
"hooks": {
"pre-commit": "yarn format-quick"
"pre-commit": "yarn format:quick"
}
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-enty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"lint": "yarn tsdx lint src",
"prepublishOnly": "yarn build",
"test": "yarn jest",
"test-all": "yarn test && yarn build",
"test:all": "yarn test && yarn build",
"watch": "yarn tsdx watch",
"size": "size-limit"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/react-enty/src/__tests__/ProviderFactory-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ describe('Debugging', () => {
const log = jest.spyOn(console, 'log').mockImplementation(() => {});
const {Provider} = ProviderFactory({});
mount(<Provider debug />);

expect(log).toHaveBeenCalled();

log.mockRestore();
});
});
5 changes: 0 additions & 5 deletions packages/react-enty/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3825,11 +3825,6 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==

enty@^2.0.0-alpha.16:
version "2.0.0-alpha.16"
resolved "https://registry.yarnpkg.com/enty/-/enty-2.0.0-alpha.16.tgz#4dc2185466d1732a119f7b1463a5bdf6c706c183"
integrity sha512-huWNHs30cRrDvg1+j3gGOMHth2QayssZLYHwhnBCfHLr14AOKirlkAvqdBKq6FbBvbb2qROjtW23zukqL8SwhQ==

enzyme-matchers@^7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-7.1.2.tgz#d80530a61f22d28bb993dd7588abba38bd4de282"
Expand Down

0 comments on commit 1f04198

Please sign in to comment.