Skip to content

Commit

Permalink
chore: Move to GH actions from Travis CI (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
okonet authored Feb 7, 2020
1 parent bf52a7c commit e31b44f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 20 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Release

on: [push]

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Release
uses: codfish/semantic-release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-scroll-sync",
"version": "0.0.0-development",
"description": "Syncronize scroll positions across multiple scrollable containers",
"description": "Synchronize scroll positions across multiple scrollable containers",
"main": "dist/index.js",
"scripts": {
"clean": "rimraf ./dist",
Expand All @@ -12,8 +12,7 @@
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"styleguide:server": "styleguidist server",
"styleguide:build": "styleguidist build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"styleguide:build": "styleguidist build"
},
"lint-staged": {
"*.js": [
Expand Down Expand Up @@ -68,8 +67,7 @@
"react-dom": "15.3.2",
"react-styleguidist": "5.0.0-beta8",
"rimraf": "2.5.4",
"webpack": "1.13.2",
"semantic-release": "6.3.6"
"webpack": "1.13.2"
},
"peerDependencies": {
"react": "0.14.x || 15.x || 16.x",
Expand Down

0 comments on commit e31b44f

Please sign in to comment.