Skip to content

Commit

Permalink
use github actions, remove travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 18, 2021
1 parent cc7a6c9 commit 0e3ab24
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci
on: [push]
jobs:
tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v2

# Install NPM dependencies, cache them correctly
# https://github.com/bahmutov/npm-install
- uses: bahmutov/npm-install@v1

- run: npm test

- name: Semantic Release 🚀
uses: cycjimmy/semantic-release-action@v2
with:
branches: master
env:
# github token is automatically created by the GH Action workflow
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# created using semantic-release
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit 0e3ab24

Please sign in to comment.