fix github acitons #2
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
name: Nodejs16 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: 16 | |
registry-url: https://registry.npmjs.org/ | |
- 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_16 && cd __tests__/e2e && ./ci.sh && cd - | |
- name: run trigger ci | |
run: | | |
export RANDSTR=github_16 && cd __tests__/e2e && ./ci_trigger.sh && cd - |