mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
86a99684a3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...9bb56186c3
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
---
|
|
name: static data
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# twice peer week
|
|
- cron: '0 0 * * 1,4'
|
|
# for now, scheduled, we can enable on push master but not make much sense now
|
|
# push:
|
|
# branches:
|
|
# - master
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
prepare:
|
|
name: Run script
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
|
|
with:
|
|
node-version: 18.x
|
|
- name: install pnpm
|
|
run: sudo npm i pnpm@latest-8 -g
|
|
- name: install dependencies
|
|
run: pnpm install
|
|
- name: Build Translations percentage
|
|
run: pnpm --filter @verdaccio/crowdin-translations build
|
|
- name: update contributors
|
|
run: pnpm run contributors
|
|
env:
|
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: update addson data
|
|
run: pnpm script:addson
|
|
- name: update translations
|
|
run: pnpm run translations
|
|
env:
|
|
TOKEN: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
|
|
- name: format
|
|
run: pnpm format
|
|
- name: Commit & Push changes
|
|
uses: actions-js/push@156f2b10c3aa000c44dbe75ea7018f32ae999772 # tag=v1.4
|
|
with:
|
|
github_token: ${{ secrets.TOKEN_VERDACCIOBOT_GITHUB }}
|
|
message: "chore: updated static data"
|
|
branch: master
|
|
author_email: verdaccio.npm@gmail.com
|
|
author_name: verdacciobot
|