Skip to content

Commit

Permalink
Merge pull request #20 from krakenjs/gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
westeezy authored Jan 24, 2022
2 parents 1109303 + 4b7f859 commit d0bc5fa
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.*/node_modules/babel-plugin-flow-runtime
.*/node_modules/flow-runtime
.*/node_modules/npm
.*/node_modules/resolve
.*/dist/module
[include]
[libs]
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build
on:
push:
branches:
- main
pull_request: {}
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: ⎔ Setup node
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
useLockFile: false

- name: ▶️ Run flow-typed script
run: npm run flow-typed

- name: ▶️ Run build script
run: npm run build
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit d0bc5fa

Please sign in to comment.