-
Notifications
You must be signed in to change notification settings - Fork 70
33 lines (33 loc) · 1.01 KB
/
version-bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Node.js Packages version bump
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Set commit author email
run: git config --global user.email "[email protected]"
- name: Set commit author name
run: git config --global user.name "itgalaxy"
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Pull all tags from Lerna semantic release
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install project dependencies
run: npm ci --no-optional
- name: Bump versions and create release
run: npm run release
- name: Push tags
run: npm run push-tags
- name: Push commits
run: git push origin