Skip to content

Commit

Permalink
github actions!!
Browse files Browse the repository at this point in the history
  • Loading branch information
NeutronicMC committed Jun 21, 2020
1 parent f6cab5b commit 34310af
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CI
on:
- push
- pull
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Run ESLint
run: eslint . --ext .js,.jsx,.ts,.tsx
19 changes: 19 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: hive-tools-wrapper package

on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 34310af

Please sign in to comment.