提交 e02622a1 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

cosmetic

上级 d44b8149
...@@ -49,11 +49,11 @@ jobs: ...@@ -49,11 +49,11 @@ jobs:
# NOTE: Add --force since otherwise `npm ci` fails in Node 16 because # NOTE: Add --force since otherwise `npm ci` fails in Node 16 because
# @octokit/auth-token dev dependency requires Node >= 16. # @octokit/auth-token dev dependency requires Node >= 16.
- name: Install - name: npm ci
run: npm ci --force run: npm ci --force
- name: Lint - name: npm run lint:node
run: npm run lint:node run: npm run lint:node
- name: Test - name: npm run test:node
run: npm run test:node run: npm run test:node
...@@ -55,15 +55,6 @@ jobs: ...@@ -55,15 +55,6 @@ jobs:
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
# We need to install some NPM production deps for npm-scripts.mjs to work.
- run: npm ci --ignore-scripts --omit=dev
- run: npm run install-clang-tools
# TODO: Maybe fix this one day.
if: runner.os != 'Windows'
- run: npm run lint:worker
# TODO: Maybe fix this one day.
if: runner.os != 'Windows'
- name: Configure cache - name: Configure cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
...@@ -73,10 +64,24 @@ jobs: ...@@ -73,10 +64,24 @@ jobs:
restore-keys: | restore-keys: |
${{ matrix.build.os }}-node-${{matrix.build.cc}}- ${{ matrix.build.os }}-node-${{matrix.build.cc}}-
- name: Build # We need to install some NPM production deps for npm-scripts.mjs to work.
- name: npm ci
run: npm ci --ignore-scripts --omit=dev
- name: npm run install-clang-tools
run: npm run install-clang-tools
# TODO: Maybe fix this one day.
if: runner.os != 'Windows'
- name: npm run lint:worker
run: npm run lint:worker
# TODO: Maybe fix this one day.
if: runner.os != 'Windows'
- name: npm run worker:build
run: npm run worker:build run: npm run worker:build
- name: Test - name: npm run test:worker
run: npm run test:worker run: npm run test:worker
# TODO: Maybe fix this one day. # TODO: Maybe fix this one day.
if: runner.os != 'Windows' if: runner.os != 'Windows'
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论