Skip to content

Commit

Permalink
add-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
masarakki committed Aug 1, 2021
1 parent 18de6bb commit 85153f5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: test
on:
push:
branches:
- main
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- id: node-version
run: echo "::set-output name=NODE_VERSION::${cat .node-verison)"
- uses: actions/setup-node@master
with:
node-version: "${{ steps.node-version.outputs.NODE_VERSION }}"
- run: npm ci
- run: npm run lint
- run: npm run electron:build

0 comments on commit 85153f5

Please sign in to comment.