diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 724b584b..273da02e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,11 +40,12 @@ jobs: CI: true steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6.4.0 with: - node-version-file: '.nvmrc' + node-version-file: 'package.json' + check-latest: true + package-manager-cache: false registry-url: 'https://registry.npmjs.org' - cache: npm - run: npm ci - name: Build run: npm run build @@ -62,11 +63,12 @@ jobs: with: submodules: true fetch-depth: 100 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6.4.0 with: - node-version-file: '.nvmrc' + node-version-file: 'package.json' + check-latest: true + package-manager-cache: false registry-url: 'https://registry.npmjs.org' - cache: npm - run: npm ci - uses: browser-actions/setup-chrome@v1 with: @@ -93,10 +95,11 @@ jobs: with: submodules: true fetch-depth: 100 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6.4.0 with: - node-version-file: '.nvmrc' - cache: npm + node-version-file: 'package.json' + check-latest: true + package-manager-cache: false registry-url: 'https://registry.npmjs.org' - run: npm ci --ignore-scripts - run: npm run apidocs