Skip to content

Commit 98d47d9

Browse files
AodhanLPAodhan Wade
andauthored
ci(GitHub Actions): Migrate from CircleCI to GitHub Actions [CICD-236] (#33)
* ci(GitHub Actions): Migrate from CircleCI to GitHub Actions [CICD-236] * ci(GitHub Actions): Remove CircleCI config.yml [CICD-236] * ci(GitHub Actions): Changed the on push to when it hits master [CICD-236] Co-authored-by: Aodhan Wade <[email protected]>
1 parent d774d4b commit 98d47d9

File tree

2 files changed

+28
-39
lines changed

2 files changed

+28
-39
lines changed

.circleci/config.yml

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

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
11+
12+
jobs:
13+
release:
14+
if: github.ref == 'refs/heads/master'
15+
16+
name: Release
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- uses: actions/setup-node@v3
22+
with:
23+
node-version: "12"
24+
cache: 'npm'
25+
- run: npm ci
26+
- run: npm run semantic-release
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)