File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 git config user.name ${{ github.actor }}
2424 git config user.email ${{ github.actor }}@users.noreply.github.com
2525
26+ - name : Install native deps for node-canvas (macOS)
27+ if : runner.os == 'macOS'
28+ run : |
29+ brew install pkg-config cairo pango libpng jpeg giflib librsvg
30+ echo "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:/usr/local/share/pkgconfig:/opt/homebrew/share/pkgconfig" >> $GITHUB_ENV
31+ echo "LDFLAGS=-L/opt/homebrew/lib -L/usr/local/lib" >> $GITHUB_ENV
32+ echo "CPPFLAGS=-I/opt/homebrew/include -I/usr/local/include" >> $GITHUB_ENV
33+
2634 - name : Use Node.js ${{ matrix.node-version }}
2735 uses : actions/setup-node@v3
2836 with :
Original file line number Diff line number Diff line change 2626 cache : ' npm'
2727 cache-dependency-path : ' ./common/config/rush/pnpm-lock.yaml'
2828
29+ - name : Install native deps for node-canvas (macOS)
30+ if : runner.os == 'macOS'
31+ run : |
32+ brew install pkg-config cairo pango libpng jpeg giflib librsvg
33+ echo "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:/usr/local/share/pkgconfig:/opt/homebrew/share/pkgconfig" >> $GITHUB_ENV
34+ echo "LDFLAGS=-L/opt/homebrew/lib -L/usr/local/lib" >> $GITHUB_ENV
35+ echo "CPPFLAGS=-I/opt/homebrew/include -I/usr/local/include" >> $GITHUB_ENV
36+
2937 # # 查看字体
3038 # - name: View Fonts
3139 # run: |
Original file line number Diff line number Diff line change 3232 "@internal/eslint-config" : " workspace:*" ,
3333 "@internal/ts-config" : " workspace:*" ,
3434 "@rushstack/eslint-patch" : " ~1.1.4" ,
35- "canvas" : " 2.11.2 " ,
35+ "canvas" : " 2.12.1 " ,
3636 "node-fetch" : " 2.6.6" ,
3737 "react" : " ^18.0.0" ,
3838 "react-dom" : " ^18.0.0" ,
Original file line number Diff line number Diff line change 3434 "@internal/ts-config" : " workspace:*" ,
3535 "@rushstack/eslint-patch" : " ~1.1.4" ,
3636 "@visactor/vutils" : " 1.0.6" ,
37- "canvas" : " 2.11.2 " ,
37+ "canvas" : " 2.12.1 " ,
3838 "react" : " ^18.0.0" ,
3939 "react-dom" : " ^18.0.0" ,
4040 "@types/react" : " ^18.0.0" ,
You can’t perform that action at this time.
0 commit comments