Skip to content

Commit 37bdb1c

Browse files
committed
Merge branch 'dev' of github.com:serversideup/amplitudejs into dev
2 parents 95d0234 + 2284336 commit 37bdb1c

File tree

7 files changed

+123
-22
lines changed

7 files changed

+123
-22
lines changed

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
pull_request:
9+
branches:
10+
- master
11+
- dev
12+
13+
jobs:
14+
test:
15+
runs-on: ${{ matrix.os }}
16+
17+
strategy:
18+
matrix:
19+
os: [ubuntu-latest]
20+
node: [14]
21+
fail-fast: true
22+
23+
steps:
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v2
26+
with:
27+
node-version: ${{ matrix.node }}
28+
registry-url: https://registry.npmjs.org/
29+
30+
- name: checkout
31+
uses: actions/checkout@v2
32+
33+
- name: Install dependencies
34+
run: yarn install --frozen-lockfile
35+
36+
- name: Build
37+
run: yarn build
38+
39+
- name: Test
40+
run: yarn test
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: publish-beta
2+
3+
on:
4+
release:
5+
types: [prereleased]
6+
7+
jobs:
8+
publish:
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest]
14+
node: [14]
15+
fail-fast: true
16+
17+
steps:
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: ${{ matrix.node }}
22+
registry-url: https://registry.npmjs.org/
23+
24+
- name: checkout
25+
uses: actions/checkout@v2
26+
27+
- name: Install dependencies
28+
run: yarn install --frozen-lockfile
29+
30+
- name: Build
31+
run: yarn build
32+
33+
- name: Test
34+
run: yarn test
35+
36+
- name: Publish BETA build
37+
run: npm publish --tag beta
38+
env:
39+
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN_SECRET}}
40+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: publish-production
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
jobs:
8+
publish:
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest]
14+
node: [14]
15+
fail-fast: true
16+
17+
steps:
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: ${{ matrix.node }}
22+
registry-url: https://registry.npmjs.org/
23+
24+
- name: checkout
25+
uses: actions/checkout@v2
26+
27+
- name: Install dependencies
28+
run: yarn install --frozen-lockfile
29+
30+
- name: Build
31+
run: yarn build
32+
33+
- name: Test
34+
run: yarn test
35+
36+
- name: Publish PRODUCTION build
37+
run: npm publish
38+
env:
39+
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN_SECRET}}
40+

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<a title="Get Professional Help" href="https://521dimensions.com/open-source/amplitudejs/docs/get-help/#professional-support"><strong>Get Professional Help</strong></a>
1616
</p>
1717
<p align="center">
18-
<a href="https://travis-ci.org/521dimensions/amplitudejs" target="_blank"><img src="https://travis-ci.org/521dimensions/amplitudejs.svg?branch=master" alt="Build Status"></a>
18+
<a href="https://github.com/serversideup/amplitudejs/actions" target="_blank"><img src="https://github.com/serversideup/amplitudejs/workflows/publish-production/badge.svg" alt="Build Status"></a>
1919
<a href="https://www.npmjs.com/package/amplitudejs" target="_blank"><img src="https://badgen.net/npm/v/amplitudejs" alt="npm version"></a>
2020
<a href="https://www.jsdelivr.com/package/npm/amplitudejs" target="_blank"><img src="https://badgen.net/jsdelivr/hits/npm/amplitudejs" alt="jsDelivr"></a>
2121
<a href="https://www.npmjs.com/package/amplitudejs" target="_blank"><img src="https://badgen.net/npm/dt/amplitudejs" alt="Downloads"></a>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "amplitudejs",
3-
"version": "5.2.0",
3+
"version": "5.3.0-beta.13",
44
"description": "A JavaScript library that allows you to control the design of your media controls in your webpage -- not the browser. No dependencies (jQuery not required) https://521dimensions.com/open-source/amplitudejs",
55
"main": "dist/amplitude.js",
66
"devDependencies": {

0 commit comments

Comments
 (0)