Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit ddc0114

Browse files
committed
name steps, add typescript install
1 parent d93a138 commit ddc0114

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

.github/workflows/build.yml

+19-14
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v2
23-
- uses: actions/setup-node@v1
24-
with:
25-
node-version: 11.x
23+
- name: Get Node
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: 11.x
2627
- name: linux setup
2728
if: ${{ matrix.os == 'ubuntu-latest' }}
2829
run: |
@@ -38,19 +39,23 @@ jobs:
3839
- name: macos setup
3940
if: ${{ matrix.os == 'macos-latest' }}
4041
run: |
41-
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
42+
usr/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
4243
brew install arduino --cask
43-
- run: |
44-
npm install -g node-gyp
45-
npm install -g vsce
46-
npm install -g gulp
47-
npm install -g
48-
npm install
49-
gulp tslint
50-
gulp genAikey
51-
vsce package
44+
- name: preinstall
45+
run: |
46+
npm install -g node-gyp
47+
npm install -g vsce
48+
npm install -g gulp
49+
npm install -g typescript
50+
- name: install
51+
run: npm install
52+
- name: scripts
53+
run: |
54+
gulp tslint
55+
gulp genAikey
56+
vsce package
5257
- name: run tests
53-
if: ${{ matrix.os == 'ubuntu-latest' || 'macos-latest'}}
58+
if: ${{ matrix.os == 'ubuntu-latest' }} || ${{ matrix.os == 'macos-latest' }}
5459
uses: GabrielBB/xvfb-action@v1
5560
with:
5661
run: npm test --silent

0 commit comments

Comments
 (0)