Skip to content

Commit

Permalink
Merge pull request #3 from krakenjs/gh-action
Browse files Browse the repository at this point in the history
use gh-actions
  • Loading branch information
westeezy committed Jan 27, 2022
2 parents 35ac908 + d359d4a commit c6a0e4c
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 @@ -4,6 +4,7 @@
.*/node_modules/npm
.*/node_modules/eslint-plugin-compat
.*/node_modules/jsonlint
.*/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 c6a0e4c

Please sign in to comment.