Skip to content

Commit 99accbd

Browse files
author
Alberto Fernandez
committed
chore(ci): add version workflow
1 parent 18c9cb0 commit 99accbd

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/version.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Version
5+
6+
on:
7+
workflow_dispatch:
8+
inputs:
9+
versionType:
10+
description: Version type
11+
required: true
12+
13+
jobs:
14+
version:
15+
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js 12
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: 12
24+
cache: 'npm'
25+
- run: npm ci
26+
- run: npm version ${{env.INPUT_VERSIONTYPE}}

0 commit comments

Comments
 (0)