-
-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (34 loc) · 1001 Bytes
/
npm.dist-tag.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
34
35
36
37
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: NPM dist tag
on:
workflow_dispatch:
inputs:
action:
description: 'Action'
required: false
default: 'add'
version:
description: 'Version'
required: true
default: '1.0.'
tag:
description: 'Tag'
required: false
default: 'latest'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Run npm dist-tag
run: sh wake-up-all.sh ${{ github.event.inputs.action }} ${{ github.event.inputs.vesion }} ${{ github.event.inputs.tag }}
working-directory: scripts