Skip to content

Commit

Permalink
chore: Replace Travis and Coveralls with GitHub Actions and Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
prantlf committed Jul 27, 2022
1 parent aa2b237 commit eea3559
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 15 deletions.
1 change: 0 additions & 1 deletion .coveralls.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test or Release

on:
- push
- pull_request

jobs:
test-or-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: '>=6'
run_install: |
- args: [--frozen-lockfile, --no-verify-store-integrity]
- name: Test
run: |
pnpm install -g grunt-cli
npm test
- name: Coverage
uses: codecov/codecov-action@v2
- name: Publish
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 18
branches: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit eea3559

Please sign in to comment.