Skip to content

chore: add loader-utils dependency of plugin-rax-app #2526

chore: add loader-utils dependency of plugin-rax-app

chore: add loader-utils dependency of plugin-rax-app #2526

Workflow file for this run

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