-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
Showing
2 changed files
with
41 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |