Skip to content

Commit b458d36

Browse files
sestrellanieled
andauthored
chore(ci): Migrate build pipeline to GH actions (#46)
* Migrate build pipeline to GH actions Co-authored-by: Daniel Calle <[email protected]> * Remove extra space * Fix typo * Add status badge * Revert this change * Revert "Revert this change" This reverts commit 92d7d10. * Move status badge to the top * Bye bye Circle CI Co-authored-by: Daniel Calle <[email protected]>
1 parent e0a5948 commit b458d36

File tree

3 files changed

+30
-68
lines changed

3 files changed

+30
-68
lines changed

.circleci/config.yml

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

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Build
3+
4+
on: push
5+
6+
concurrency:
7+
group: build-${{ github.ref_name }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node:
16+
- 16
17+
- 17
18+
- 18
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node }}
25+
cache: yarn
26+
- run: yarn install --immutable
27+
- run: yarn compile
28+
- run: yarn lint
29+
- run: yarn test --forbid-only

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
22
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)
33
<!-- ALL-CONTRIBUTORS-BADGE:END -->
4+
[![Build](https://github.com/stackbuilders/assertive-ts/actions/workflows/build.yml/badge.svg)](https://github.com/stackbuilders/assertive-ts/actions/workflows/build.yml)
45

56
# AssertiveTS
67

0 commit comments

Comments
 (0)