Skip to content

Commit 1a96a05

Browse files
author
Josh Goldberg
authored
Switched from CircleCI to Github Actions (#22)
1 parent 5685547 commit 1a96a05

File tree

3 files changed

+33
-132
lines changed

3 files changed

+33
-132
lines changed

.circleci/config.yml

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

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish to NPM
2+
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: Codecademy/run-on-yarn@v1
8+
with:
9+
command: compile
10+
- uses: JS-DevTools/npm-publish@v1
11+
with:
12+
token: ${{ secrets.NPM_TOKEN }}
13+
14+
on:
15+
push:
16+
branches:
17+
- main

.github/workflows/push.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Push CI
2+
3+
jobs:
4+
ci:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: Codecademy/run-on-yarn@v1
8+
with:
9+
command: ${{ matrix.command }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
command: ["eslint", "prettier", "test:ci", "tsc"]
15+
16+
on: push

0 commit comments

Comments
 (0)