Skip to content

Commit 7713cd2

Browse files
ci: Switch to GitHub actions for CI (#44)
* Switch to GitHub actions for CI * More cautious dep updates * Update based on review feedback
1 parent 6337c46 commit 7713cd2

File tree

4 files changed

+8790
-6335
lines changed

4 files changed

+8790
-6335
lines changed

.circleci/config.yml

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

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: build
2+
on:
3+
release:
4+
types: [created]
5+
push:
6+
branches:
7+
- '**'
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: '20.x'
18+
registry-url: 'https://registry.npmjs.org'
19+
cache: npm
20+
- run: npm ci
21+
- run: npm run test:coverage
22+
- run: npm run build
23+
- run: npm publish
24+
if: github.event_name == 'release' && github.event.action == 'created'
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)