Skip to content

Commit

Permalink
Fix CI (#163)
Browse files Browse the repository at this point in the history
Fixes the CI by making use of corepack, fixing gitignore, and ignoring a broken test.
  • Loading branch information
sbihel authored Mar 8, 2024
1 parent 42ccf80 commit 8b761c6
Show file tree
Hide file tree
Showing 8 changed files with 29,650 additions and 21,857 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: Install dependencies and build packages
Expand Down
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ node_modules
.pnp.js

# settings
.yarn*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# testing
/coverage
Expand Down Expand Up @@ -32,4 +37,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

lerna-debug.log
lerna-debug.log
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion packages/ssx-core/tests/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ test('Should resolve Lens profile on Polygon Mainnet successfully', async () =>
);
}, 30000);

test('Should resolve Lens profile on Mumbai Testnet successfully', async () => {
// api-mumbai.lens.dev isn't available anymore (there is now a v2 version)
test.skip('Should resolve Lens profile on Mumbai Testnet successfully', async () => {
const provider = getProvider({
service: SSXRPCProviders.SSXInfuraProvider,
network: SSXInfuraProviderNetworks.POLYGON_MUMBAI,
Expand Down
5 changes: 2 additions & 3 deletions packages/ssx-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"type": "module",
"author": "Spruce Systems, Inc.",
"license": "Apache-2.0 OR MIT",
"private": false,
"scripts": {
"build": "tsc"
},
Expand All @@ -43,8 +42,8 @@
},
"devDependencies": {
"@types/react": "^18.0.21",
"typescript": "^4.8.4",
"react": "^18.2.0"
"react": "^18.2.0",
"typescript": "^4.8.4"
},
"files": [
"tsconfig.json",
Expand Down
1 change: 0 additions & 1 deletion packages/ssx-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"type": "commonjs",
"author": "Spruce Systems, Inc.",
"license": "Apache-2.0 OR MIT",
"private": false,
"scripts": {
"build": "webpack --mode production",
"watch": "webpack --watch",
Expand Down
8 changes: 3 additions & 5 deletions packages/ssx-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"type": "git",
"url": "ssh://[email protected]:spruceid/ssx.git"
},
"bin": {
"ssx-server": "bin/ssx-server.js"
},
"bin": "bin/ssx-server.js",
"dependencies": {
"@spruceid/ssx-core": "2.0.0",
"axios": "^1.6.0",
Expand All @@ -48,9 +46,9 @@
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"prettier": "^2.7.1",
"redis": "^4.3.1",
"ts-jest": "^28.0.8",
"typescript": "^4.8.4",
"redis": "^4.3.1"
"typescript": "^4.8.4"
},
"files": [
"dist"
Expand Down
51,474 changes: 29,631 additions & 21,843 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 8b761c6

Please sign in to comment.