Skip to content

Commit 296ef21

Browse files
AodhanLPAodhan Wade
and
Aodhan Wade
authored
ci(GitHub Actions): Migrate from CircleCI to GitHub Actions [CICD-236] (#327)
* ci(GitHub Actions): Migrate from CircleCI to GitHub Actions * ci(GitHub Actions): Added build to the test step * ci(GitHub Actions): Fixed the test step * ci(GitHub Actions): Made it all into one job * ci(GitHub Actions): Made it all into one job Co-authored-by: Aodhan Wade <[email protected]>
1 parent 5b6964b commit 296ef21

File tree

2 files changed

+41
-54
lines changed

2 files changed

+41
-54
lines changed

.circleci/config.yml

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

.github/workflows/integration.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Integration Suite
2+
3+
on: ['push']
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
8+
9+
jobs:
10+
integrate:
11+
name: Integration
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: "14"
20+
cache: 'npm'
21+
22+
- name: Installing Dependencies
23+
run: npm ci
24+
25+
- name: Compiling Code
26+
run: npm run build
27+
28+
- name: Running Tests
29+
run: npm run cover
30+
31+
- name: Linting Code
32+
run: npm run lint
33+
34+
- name: Checking for Duplication
35+
run: npm run duplication
36+
37+
- name: Semantic Release
38+
if: github.ref == 'refs/heads/master'
39+
run: npm run semantic-release
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)