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

Add .node-version to bin Node dev to v20 #828

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- uses: pnpm/action-setup@v4
- run: |
pnpm install
pnpm --filter=avivator build
with:
run_install: true
- run: pnpm --filter=avivator build

Lint:
runs-on: ubuntu-latest
Expand All @@ -36,10 +39,12 @@ jobs:
DISPLAY: :0
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- uses: pnpm/action-setup@v4
with:
run_install: true

- name: Setup xvf (Linux)
if: runner.os == 'Linux'
run: |
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version

- uses: pnpm/action-setup@v4
- run: |
pnpm install
pnpm build --base /viv/
with:
run_install: true

- run: pnpm build --base /viv/
working-directory: sites/avivator

- uses: actions/upload-pages-artifact@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- uses: pnpm/action-setup@v4
with:
run_install: true
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"esbuild": "^0.19.5",
"esno": "^4.0.0",
"gl": "^6.0.2",
"gray-matter": "^4.0.3",
"tap-spec": "^5.0.0",
"tape": "^5.5.3",
Expand Down
Loading