File tree Expand file tree Collapse file tree 7 files changed +4244
-2663
lines changed
Expand file tree Collapse file tree 7 files changed +4244
-2663
lines changed Original file line number Diff line number Diff line change 1717 github.event.pull_request.head.ref || '' }}
1818 - uses : actions/setup-node@v3
1919 with :
20- node-version : 14
20+ node-version : 16
2121 -
run :
git config --global user.email "[email protected] " 2222 - run : git config --global user.name "GitHub Actions"
2323 - run : yarn --frozen-lockfile
@@ -46,31 +46,31 @@ jobs:
4646 with :
4747 node-version : ${{ matrix.node }}
4848 - run : yarn --frozen-lockfile
49- - run : yarn test
49+ - env :
50+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+ run : yarn test
5052 - if : failure()
5153 uses : actions/upload-artifact@v3
5254 with :
5355 name : Image Snapshot Diffs
5456 path : " **/__image_snapshots__/__diff_output__"
55- - if : matrix.os == 'ubuntu-latest' && matrix.node == 14
56- uses : codecov/codecov-action@v2
57+ - if : matrix.os == 'ubuntu-latest' && matrix.node == 16
58+ uses : codecov/codecov-action@v3
5759 with :
58- fail_ci_if_error : true
5960 token : ${{ secrets.CODECOV_TOKEN }}
6061 strategy :
6162 matrix :
62- exclude :
63- - node : 12
63+ include :
64+ - node : 14
65+ os : ubuntu-latest
66+ - node : 16
67+ os : ubuntu-latest
68+ - node : 18
69+ os : ubuntu-latest
70+ - node : 16
6471 os : macos-latest
65- - node : 12
72+ - node : 16
6673 os : windows-latest
67- node :
68- - 12
69- - 14
70- os :
71- - macos-latest
72- - windows-latest
73- - ubuntu-latest
7474name : build
7575on :
7676 pull_request : {}
Original file line number Diff line number Diff line change 2424 with :
2525 comment : Auto-closing the issue
2626 issue-number : ${{ steps.create-deprecation-issue.outputs.number }}
27+ - uses : gautamkrishnar/keepalive-workflow@v1
2728name : deprecated-dependencies
2829on :
2930 schedule :
Original file line number Diff line number Diff line change 88 approve : false
99 commitMessage : " fix: write GitHub metadata to package.json [{changes}]"
1010 githubToken : ${{ secrets.GITHUB_TOKEN }}
11+ - uses : gautamkrishnar/keepalive-workflow@v1
1112name : sync-metadata
1213on :
1314 schedule :
Original file line number Diff line number Diff line change @@ -4,9 +4,17 @@ FROM gitpod/workspace-full:latest
44RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
55RUN sudo apt-get install git-lfs
66RUN git lfs install
7+
8+ # https://www.gitpod.io/docs/languages/javascript
9+ RUN bash -c 'VERSION="16" && source $HOME/.nvm/nvm.sh && nvm install $VERSION && nvm use $VERSION && nvm alias default $VERSION'
10+ RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
11+
712RUN echo "\n export PATH=$(yarn global bin):\$ PATH" >> /home/gitpod/.bashrc
13+
814RUN yarn global add gitpod-env-per-project @babel/node @babel/core
15+
916RUN sudo apt-get install -y graphviz
17+
1018RUN brew install gh
1119
1220# Puppeteer dependencies
Original file line number Diff line number Diff line change 1- #! /bin/sh
2- . " $( dirname " $0 " ) /_/husky.sh"
1+ #! /usr/ bin/env sh
2+ . " $( dirname -- " $0 " ) /_/husky.sh"
33
44npx commitlint --edit " $1 "
Original file line number Diff line number Diff line change 3434 "scripts" : {
3535 "checkUnknownFiles" : " base checkUnknownFiles" ,
3636 "commit" : " base commit" ,
37+ "depcheck" : " base depcheck" ,
3738 "dev" : " base dev" ,
3839 "lint" : " base lint" ,
3940 "prepare" : " base prepare" ,
4647 "babel-plugin-module-resolver" : " ^4.0.0"
4748 },
4849 "devDependencies" : {
49- "@dword-design/base" : " ^8.0.0 " ,
50+ "@dword-design/base" : " ^9.2.3 " ,
5051 "depcheck-package-name" : " ^2.0.0" ,
5152 "eslint" : " ^7.2.0" ,
5253 "output-files" : " ^2.0.0" ,
5354 "with-local-tmp-dir" : " ^4.0.0"
5455 },
5556 "engines" : {
56- "node" : " >=12 "
57+ "node" : " >=14 "
5758 },
5859 "publishConfig" : {
5960 "access" : " public"
You can’t perform that action at this time.
0 commit comments