Skip to content

Commit

Permalink
ci: Upgrade Node.js version and other minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Oct 19, 2024
1 parent 0339e2f commit f9d399d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 33 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/push-to-everything411-repo.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: push-to-everything411-repo

on:
push:
branches:
- main
workflow_dispatch:

jobs:
gitee:
name: Sync to everything411 repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.E411_GITHUB_TOKEN }}
fetch-depth: 0
- name: Push
uses: wangchucheng/[email protected]
with:
target-url: https://github.com/everything411/BIThesis-wiki.git
target-username: everything411
target-token: ${{ secrets.E411_GITHUB_TOKEN }}
name: push-to-everything411-repo

on:
push:
branches:
- main
workflow_dispatch:

jobs:
sync:
name: Sync to everything411 repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.E411_GITHUB_TOKEN }}
fetch-depth: 0
- name: Push
uses: wangchucheng/[email protected]
with:
target-url: https://github.com/everything411/BIThesis-wiki.git
target-username: everything411
target-token: ${{ secrets.E411_GITHUB_TOKEN }}
16 changes: 6 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ on:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm
node-version: 20
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: pnpm lint:prettier
Expand Down

0 comments on commit f9d399d

Please sign in to comment.