chore(deps): bump cross-spawn from 7.0.1 to 7.0.5 in /packages/create-rax #2532
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set branch name | |
run: echo >>$GITHUB_ENV BRANCH_NAME=${GITHUB_REF#refs/heads/} | |
- name: Echo branch name | |
run: echo ${BRANCH_NAME} | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: https://registry.npmjs.org/ | |
- name: Check Branch | |
id: check-branch | |
run: | | |
if [[ ${{ env.BRANCH_NAME }} =~ ^(master|release-next)$|^hotfix\/* ]]; then | |
echo ::set-output name=match::true | |
fi | |
- run: npm run setup | |
- run: npm run dependency:check | |
- run: npm run lint | |
- run: npm run test | |
- if: steps.check-branch.outputs.match == 'true' | |
run: npm run version:check | |
- run: npm run coverage | |
env: | |
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} | |
ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} | |
CI: true |