-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: 迷渡 <[email protected]>
- Loading branch information
Showing
3 changed files
with
399 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: ci | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
name: test in ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.16.3" | ||
|
||
- name: Setup Deno | ||
uses: denolib/setup-deno@master | ||
with: | ||
deno-version: "1.0.0-rc1" | ||
|
||
- name: Log versions | ||
run: | | ||
node -v | ||
npm -v | ||
yarn --version | ||
deno --version | ||
- name: Install | ||
run: yarn --frozen-lockfile --non-interactive | ||
|
||
- name: Check code format | ||
run: yarn check | ||
|
||
- name: Compile | ||
run: yarn compile | ||
|
||
# - name: Package | ||
# run: yarn package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.