/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
.github/actions/setup/action.yml
35 строк
1 KB
Zyie
chore: update GitHub Actions and npm to latest (#12070)
01 июн 2026, 16:56
Не верифицирован
01 июн 2026, 16:56
009e338
Код
Авторство
О чём код?
name: "Install Project" description: "Installs node, npm, and dependencies" inputs: node-version: description: "Node.js version" required: true # Pinned: Node >=24.16 breaks Electron install (extract-zip). electron/electron#51619 default: "24.15.0" npm-version: description: "npm version" required: true default: "11" runs: using: "composite" steps: - name: Use Node.js uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} registry-url: "https://registry.npmjs.org" - name: Install npm shell: bash run: npm install -g npm@${{ inputs.npm-version }} - name: Cache Dependencies id: node-modules-cache uses: actions/cache@v5 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node-modules- - name: Install Dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' shell: bash run: npm ci