-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (43 loc) · 1.11 KB
/
ci_node14.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Nodejs14 base ci
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 3
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: |
sudo apt-get update && apt-get install -y wget curl
brew install wget
choco install -y wget
choco install -y curl
- name: install s
run: |
npm i @xsahxl/[email protected] -g
- name: config s
run: |
s3 config add --AccessKeyID ${{secrets.ACCESSKEYID}} --AccessKeySecret ${{secrets.ACCESSKEYSECRET}} -a quanxi -f
- name: NPM install
run: |
npm install
- name: NPM run build
run: |
npm run build
- name: run base ci
run: |
export RANDSTR=github_14 && cd __tests__/e2e && ./ci.sh && cd -