Skip to content

Commit f498731

Browse files
committed
converted main.workflow to Actions V2 yml files
1 parent 87068f0 commit f498731

File tree

2 files changed

+29
-39
lines changed

2 files changed

+29
-39
lines changed

.github/main.workflow

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on: push
2+
name: Build and Publish
3+
jobs:
4+
shellLint:
5+
name: Shell Lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- name: Shell Lint
10+
uses: actions/bin/shellcheck@master
11+
with:
12+
args: entrypoint.sh
13+
- name: Build Docker
14+
uses: actions/docker/cli@master
15+
with:
16+
args: build -t npm .
17+
- name: Build
18+
uses: actions/npm@master
19+
with:
20+
args: install
21+
- name: Publish Filter
22+
uses: actions/bin/filter@master
23+
with:
24+
args: branch master
25+
- name: Publish
26+
uses: mikeal/merge-release@master
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)