Skip to content

Commit

Permalink
fix(build): add releaserc (#339)
Browse files Browse the repository at this point in the history
* fix(build): add missing releaserc; fix deps

* temp rename

* finish rename

* fix(build): run tests on pull request
  • Loading branch information
ricokahler authored Jan 30, 2021
1 parent 9c27a0b commit 6862baa
Show file tree
Hide file tree
Showing 5 changed files with 378 additions and 1 deletion.
File renamed without changes.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test
on:
- pull_request

jobs:
release:
name: Test
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Run tests
run: npm t

3 changes: 3 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"branches": ["main", { "name": "alpha", "prerelease": true }]
}
Loading

0 comments on commit 6862baa

Please sign in to comment.