Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit cf5f9d5

Browse files
author
Bassem Dghaidi
authored
Merge branch 'develop' into develop
2 parents 80fd903 + fa10629 commit cf5f9d5

File tree

6 files changed

+3525
-104
lines changed

6 files changed

+3525
-104
lines changed

.github/workflows/build.yml

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

.github/workflows/publish.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: Publish NPM
1+
name: Publish to npm
22

33
on:
4+
push:
5+
tags:
6+
- '[0-9].[0-9]+.[0-9]+'
47
release:
58
types: [published]
69

@@ -13,7 +16,10 @@ jobs:
1316
with:
1417
node-version: 10
1518
registry-url: https://registry.npmjs.org/
16-
- run: npm ci
17-
- run: npm publish
19+
- name: npm install and publish
20+
run: |
21+
ls -lha
22+
npm ci
23+
npm publish
1824
env:
19-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.github/workflows/test.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches: [ master, develop ]
6+
pull_request:
7+
branches: [ master, develop ]
8+
9+
jobs:
10+
11+
# Removing the build job for now because it's useless
12+
# and a time waster. If there's a need for it, we'll introduce
13+
# it later
14+
#
15+
# build:
16+
# runs-on: ubuntu-latest
17+
18+
# steps:
19+
# - uses: actions/checkout@v2
20+
# - name: npm install and build webpack
21+
# run: |
22+
# ls -lha
23+
# npm ci
24+
# npm run build --if-present
25+
# - uses: actions/upload-artifact@master
26+
# with:
27+
# name: webpack artifacts
28+
# path: dist/
29+
30+
31+
test:
32+
runs-on: ubuntu-latest
33+
34+
strategy:
35+
matrix:
36+
os: [ubuntu-latest, windows-2016]
37+
node-version: [10.x, 12.x]
38+
39+
steps:
40+
- uses: actions/checkout@v2
41+
- name: Use Node.js ${{ matrix.node-version }}
42+
uses: actions/setup-node@v1
43+
with:
44+
node-version: ${{ matrix.node-version }}
45+
- name: npm install and test
46+
run: |
47+
ls -lha
48+
npm ci
49+
npm test
50+
env:
51+
CI: true

0 commit comments

Comments
 (0)