/
githubmirror
/
lerna
Обзор
Документация
Войти
/
githubmirror
/
lerna
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/website-deploy.yml
63 строки
2 KB
James Henry
chore: upgrade website dependencies (#4396)
17 июл 2026, 12:13
Не верифицирован
17 июл 2026, 12:13
5319e18
Код
Авторство
О чём код?
name: Deploy Lerna website to lerna/website on: pull_request: branches: [main] push: branches: [main] # Minimal permissions by default permissions: contents: read defaults: run: shell: bash working-directory: website jobs: test-deploy: if: github.event_name != 'push' runs-on: ubuntu-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5 with: node-version: 26 - name: Install dependencies # The website is an npm workspace, so the lockfile lives at the repo root working-directory: . run: npm ci --omit=optional --workspace website --include-workspace-root=false - name: Test build website run: npm run build deploy: if: github.repository == 'lerna/lerna' && github.event_name != 'pull_request' runs-on: ubuntu-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - uses: webfactory/ssh-agent@fc49353b67b2b7c1e0e6a600572d01a69f2672dd # v0.5.4 with: ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5 with: node-version: 26 - name: Install dependencies # The website is an npm workspace, so the lockfile lives at the repo root working-directory: . run: npm ci --omit=optional --workspace website --include-workspace-root=false - name: Deploy to lerna/website env: USE_SSH: true run: | git config --global user.email "3447705+bcabanes@users.noreply.github.com" git config --global user.name "bcabanes" npm run deploy