File tree 2 files changed +29
-4
lines changed
2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 1
1
# This is a basic workflow to help you get started with Actions
2
2
3
- name : BUILD
3
+ name : Build
4
4
5
5
# Controls when the action will run. Triggers the workflow on push or pull request
6
6
# events but only for the master branch
7
7
on :
8
- push :
9
- branches : [master]
10
8
pull_request :
11
9
branches : [master]
12
10
23
21
- uses : actions/checkout@v2
24
22
25
23
# Runs a set of commands using the runners shell
26
- - name : Build
24
+ - name : Install, Build and Test
27
25
run : |
28
26
sudo npm install -g babel-cli
29
27
cd javascript
30
28
npm install
31
29
npm run build
30
+
Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : Publish
4
+
5
+ # Controls when the action will run. Triggers the workflow on push or pull request
6
+ # events but only for the master branch
7
+ on :
8
+ push :
9
+ branches : [master]
10
+
11
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12
+ jobs :
13
+ # This workflow contains a single job called "build"
14
+ publish :
15
+ # The type of runner that the job will run on
16
+ runs-on : ubuntu-latest
17
+
18
+ # Steps represent a sequence of tasks that will be executed as part of the job
19
+ steps :
20
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21
+ - uses : actions/checkout@v2
22
+
23
+ # Runs a set of commands using the runners shell
24
+ - name : Publish to NPM
25
+ run : |
26
+ echo "deploy"
You can’t perform that action at this time.
0 commit comments