Skip to content

Commit

Permalink
chore: setup semantic-release (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoishin authored Dec 11, 2020
1 parent b0a8506 commit 1f997e0
Show file tree
Hide file tree
Showing 3 changed files with 5,038 additions and 1,038 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,19 @@ on:
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node-version }}
node-version: '12'
- run: npm i -g bower
- run: npm ci
- run: npm run static
- run: npm test
- uses: coverallsapp/github-action@master
with:
github-token: ${{ github.token }}
- uses: codecov/codecov-action@v1
- run: npm run build
- run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Loading

0 comments on commit 1f997e0

Please sign in to comment.