|
54 | 54 | run: | |
55 | 55 | set -eux |
56 | 56 | git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" |
57 | | - git config --local user.name "${GITHUB_ACTOR}" |
| 57 | + git config --local user.name "${GITHUB_ACTOR}" |
58 | 58 | - name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }} |
59 | 59 | # see https://github.com/actions/setup-node |
60 | 60 | uses: actions/setup-node@v4 |
@@ -100,14 +100,25 @@ jobs: |
100 | 100 | node-version: ${{ env.NODE_ACTIVE_LTS }} |
101 | 101 | - name: setup project |
102 | 102 | run: | |
103 | | - echo "::group::install project" |
104 | | - npm install --ignore-scripts --include=optional --loglevel=silly |
| 103 | + npm i --ignore-scripts --loglevel=silly |
| 104 | + - name: setup examples |
| 105 | + run: | |
| 106 | + echo "::group::install example javascript" |
| 107 | + npm run -- dev-setup:examples:js --ignore-scripts --loglevel=silly |
| 108 | + echo "::endgroup::" |
| 109 | + echo "::group::install example typescript cjs" |
| 110 | + npm run -- dev-setup:examples:ts-mjs --ignore-scripts --loglevel=silly |
105 | 111 | echo "::endgroup::" |
106 | | - echo "::group::install code-style" |
107 | | - npm --prefix tools/code-style install --ignore-scripts --loglevel=silly |
| 112 | + echo "::group::install examples typescript mjs" |
| 113 | + npm run -- dev-setup:examples:ts-mjs --ignore-scripts --loglevel=silly |
| 114 | + echo "::endgroup::" |
| 115 | + - name: setup tools |
| 116 | + run: | |
| 117 | + echo "::group::install docs-gen deps" |
| 118 | + npm run -- dev-setup:code-style --ignore-scripts --loglevel=silly |
108 | 119 | echo "::endgroup::" |
109 | | - echo "::group::install docs-gen" |
110 | | - npm --prefix tools/docs-gen install --ignore-scripts --loglevel=silly |
| 120 | + echo "::group::install code-style deps" |
| 121 | + npm run -- dev-setup:docs-gen --ignore-scripts --loglevel=silly |
111 | 122 | echo "::endgroup::" |
112 | 123 | # no explicit npm build. if a build is required, it should be configured as prepublish/prepublishOnly script of npm. |
113 | 124 | - name: login to registries |
|
0 commit comments