Skip to content

Commit

Permalink
ci(GitHub Actions): Migrate from CircleCI to GitHub Actions [CICD-236] (
Browse files Browse the repository at this point in the history
#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]>
  • Loading branch information
AodhanLP and Aodhan Wade authored Apr 28, 2022
1 parent 5b6964b commit 296ef21
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 54 deletions.
54 changes: 0 additions & 54 deletions .circleci/config.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Integration Suite

on: ['push']

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
integrate:
name: Integration
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: "14"
cache: 'npm'

- name: Installing Dependencies
run: npm ci

- name: Compiling Code
run: npm run build

- name: Running Tests
run: npm run cover

- name: Linting Code
run: npm run lint

- name: Checking for Duplication
run: npm run duplication

- name: Semantic Release
if: github.ref == 'refs/heads/master'
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}

0 comments on commit 296ef21

Please sign in to comment.