Skip to content

migrate to 6.x

migrate to 6.x #461

Workflow file for this run

---
name: update canary dependency 6.x
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:
- 6.x
permissions: write-all
jobs:
prepare:
name: Update verdaccio canary dependency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version-file: '.nvmrc'
- name: corepack
run: corepack enable
- name: pnpm enable
run: corepack prepare pnpm@latest-8 --activate
- name: Set up .npmrc
run: |
echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc
- name: registry
run: npm config set registry https://registry.verdaccio.org
- name: install
run: pnpm install
- name: update to latest canary
run: cd tools/cli-commons && pnpm install verdaccio@canary-5x
- name: restore .npmrc
run: git checkout .npmrc
- name: Commit & Push changes
uses: actions-js/push@156f2b10c3aa000c44dbe75ea7018f32ae999772 # tag=v1.4
with:
github_token: ${{ secrets.TOKEN_VERDACCIOBOT_V2 }}
message: 'chore: updated canary verdaccio canary 6.x'
branch: 6.x
author_email: [email protected]
author_name: verdacciobot