1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/.github/workflows/changesets.yml

47 lines
952 B
YAML
Raw Normal View History

2020-08-23 09:13:36 +02:00
name: Node CI
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- 5.x
pull_request:
branches:
- 5.
env:
CI: true
2020-08-23 09:15:41 +02:00
PNPM_CACHE_FOLDER: .pnpm-store
2020-08-23 09:13:36 +02:00
jobs:
# Update package versions from changesets.
version:
timeout-minutes: 15
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/5.x' && github.repository == 'verdaccio/verdaccio'
steps:
- name: checkout code repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@v2-beta
with:
node-version: 14
2020-08-23 09:15:41 +02:00
- name: install pnpm
run: npm install pnpm@latest -g
2020-08-23 09:13:36 +02:00
- name: create versions
uses: changesets/action@master
with:
version: pnpm ci:version
commit: 'chore: update versions'
title: 'chore: update versions'
env:
2020-08-23 09:15:41 +02:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}