Skip to content

Commit 1e5dceb

Browse files
authored
ci: travis to gh actions
1 parent 5e19c33 commit 1e5dceb

File tree

4 files changed

+12054
-1806
lines changed

4 files changed

+12054
-1806
lines changed

.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+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-node@v3
17+
- name: Install dependencies
18+
run: npm ci
19+
- name: Lint files
20+
run: npm run lint
21+
- name: Run Tests
22+
run: npm run test
23+
- uses: codecov/codecov-action@v3
24+
- name: Publish
25+
run: npx semantic-release
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.travis.yml

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

0 commit comments

Comments
 (0)