Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade netlify-cli dependency #148

Merged
merged 17 commits into from
Nov 1, 2023
Merged
5 changes: 5 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ jobs:

steps:
- uses: actions/[email protected]

- uses: actions/setup-node@v3
with:
node-version: 18

- name: setup node-gyp
run: npm install -g node-gyp@latest

- name: Run tests
run: yarn install && yarn workspaces run test
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
command = "yarn build"
publish = "website/dist"

[build.environment]
YARN_FLAGS = "--frozen-lockfile --verbose"

[functions]
directory = "functions"

Expand Down
21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "netlify dev",
"start": "yarn run dev",
"lint": "eslint --ext .js,.vue website/src",
"build": "yarn run build:website",
"build": "yarn workspace website build",
"build:website": "cd website && yarn run build"
},
"devDependencies": {
Expand All @@ -17,14 +17,19 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.14.1",
"netlify-cli": "^10.14.0"
"netlify-cli": "^15.11.0"
},
"workspaces": {
"packages": [
"website",
"gbfs-validator",
"check-systems",
"functions"
],
"nohoist": [
"netlify-cli"
]
},
"workspaces": [
"website",
"gbfs-validator",
"check-systems",
"functions"
],
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
Expand Down
Loading
Loading