Skip to content

Commit

Permalink
Merge branch 'master' into pr/197
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Nov 30, 2020
2 parents 010d66e + fa36337 commit fdfe51b
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 30 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
branches:
- master
tags:
- "v*"
pull_request:

jobs:
build:
name: Build
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
os: [windows-2019]
include:
- os: windows-2019
friendlyName: Windows
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Node.js
uses: actions/setup-node@v2.1.2
with:
node-version: 12
- name: Install and build dependencies
run: yarn
- name: Lint
run: yarn check-prettier
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Prebuild
run: yarn prebuild-all
- name: Publish
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
run: yarn upload
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "tsc",
"pretest": "yarn build",
"test": "jest -c jest.json",
"prepublish": "yarn build && yarn test",
"prepublishOnly": "yarn build && yarn test",
"postpublish": "git push --follow-tags",
"benchmark": "ts-node benchmarks/reg.ts",
"prettier": "prettier --write lib/*.ts test/*.ts",
Expand All @@ -19,6 +19,7 @@
"prebuild-electron": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -r electron --strip",
"prebuild-electron-arm64": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -r electron -a arm64 --strip",
"prebuild-electron-ia32": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -r electron -a ia32 --strip",
"prebuild-all": "yarn prebuild-node && yarn prebuild-node-ia32 && yarn prebuild-electron && yarn prebuild-electron-ia32",
"upload": "node ./script/upload.js"
},
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions script/test-appveyor.bat

This file was deleted.

0 comments on commit fdfe51b

Please sign in to comment.