Skip to content

Commit 601f066

Browse files
committed
test github actions
1 parent b59f077 commit 601f066

File tree

1 file changed

+33
-18
lines changed

1 file changed

+33
-18
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,38 @@ name: CI
33
on: [push]
44

55
jobs:
6-
build:
6+
# build:
7+
# runs-on: ${{ matrix.os }}
8+
# strategy:
9+
# matrix:
10+
# os: [ubuntu-latest, windows-latest, macOS-latest]
11+
# steps:
12+
# - uses: actions/checkout@master
13+
# - name: Start xvfb
14+
# if: runner.os == 'Linux'
15+
# run: |
16+
# set -e
17+
# /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
18+
# disown -ar
19+
# - name: Use Node.js
20+
# uses: actions/setup-node@master
21+
# with:
22+
# version: 10
23+
# - run: npm install
24+
# - run: npm run compile
25+
# - run: npm run test
26+
# env:
27+
# DISPLAY: :10
28+
# - run: npm run package
29+
# if: runner.os == 'Linux'
30+
publish:
31+
# needs: build
732
runs-on: ubuntu-latest
8-
933
steps:
10-
- uses: actions/checkout@master
11-
- name: Start xvfb
12-
run: |
13-
set -e
14-
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
15-
disown -ar
16-
- name: Use Node.js
17-
uses: actions/setup-node@master
18-
with:
19-
version: 10
20-
- run: npm install
21-
- run: npm run compile
22-
- run: npm run test
23-
env:
24-
DISPLAY: :10
25-
- run: npm run package
34+
- uses: actions/checkout@master
35+
- run: ls -la
36+
- uses: daimor/actions/hub@master
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
args: release

0 commit comments

Comments
 (0)