Skip to content

Commit 219f830

Browse files
[APIC-715] 6.0.6 (#716)
* 6.0.6 * build: add CODEOWNERS * build: add deployment.yml * build: remove, karma and travis * build: migrate to web-test-runner * test: add timeout for a unit test
1 parent 3e90a1d commit 219f830

File tree

9 files changed

+2600
-4856
lines changed

9 files changed

+2600
-4856
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @mulesoft/team-api-console

.github/workflows/deployment.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Tests and publishing
2+
env:
3+
FORCE_COLOR: 1
4+
on:
5+
push:
6+
branches:
7+
- master
8+
- main
9+
- support/*
10+
pull_request:
11+
branches:
12+
- master
13+
- main
14+
- support/*
15+
jobs:
16+
tests:
17+
name: ${{ matrix.os }}
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os: [ubuntu-20.04, windows-latest]
22+
runs-on: ${{ matrix.os }}
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/setup-node@v1
26+
with:
27+
node-version: 14
28+
- uses: microsoft/playwright-github-action@v1
29+
- uses: actions/cache@v1
30+
with:
31+
path: ~/.npm
32+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
33+
restore-keys: |
34+
${{ runner.os }}-node-
35+
- name: Install dependencies
36+
run: npm ci
37+
- name: Run tests
38+
run: npm test
39+
tag:
40+
name: "Publishing release"
41+
if: github.event_name != 'pull_request'
42+
needs:
43+
- tests
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Checkout code
47+
uses: actions/checkout@v2
48+
with:
49+
fetch-depth: 0
50+
- uses: actions/setup-node@v2
51+
with:
52+
node-version: '14.x'
53+
registry-url: 'https://registry.npmjs.org'
54+
- uses: actions/cache@v1
55+
with:
56+
path: ~/.npm
57+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
58+
restore-keys: |
59+
${{ runner.os }}-node-
60+
- run: npm ci
61+
- name: Read version from package.json
62+
uses: culshaw/read-package-node-version-actions@v1
63+
id: package-node-version
64+
- name: Changelog
65+
uses: scottbrenner/generate-changelog-action@master
66+
id: Changelog
67+
- name: Github Release
68+
id: create_release
69+
uses: actions/create-release@latest
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
with:
73+
tag_name: v${{ steps.package-node-version.outputs.version }}
74+
release_name: v${{ steps.package-node-version.outputs.version }}
75+
body: |
76+
${{ steps.Changelog.outputs.changelog }}
77+
draft: false
78+
prerelease: false
79+
- run: npm publish --access public
80+
env:
81+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.travis.yml

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

karma.conf.js

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

karma.sl.config.js

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

0 commit comments

Comments
 (0)