Fix Notification Service #3377
Workflow file for this run
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: React Editor Application | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
paths: | |
- app/editor/** | |
pull_request: | |
branches: | |
- master | |
- dev | |
paths: | |
- app/editor/** | |
jobs: | |
build-app-editor: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
working-directory: ./app/editor | |
strategy: | |
matrix: | |
node-version: | |
- "18.11.0" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Extract Branch name | |
shell: bash | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | |
id: extract_branch | |
- name: Use NodeJs ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Set Yarn Version | |
run: npm set version 3.2.0 | |
- name: Update Browsers List | |
run: npx update-browserslist-db@latest | |
working-directory: ${{ env.working-directory }} | |
- name: Install Dependencies | |
run: yarn | |
working-directory: ${{ env.working-directory }} | |
- name: Linting | |
run: yarn lint | |
working-directory: ${{ env.working-directory }} | |
# - name: Unit Tests | |
# run: yarn test | |
# working-directory: ${{ env.working-directory }} | |
- name: Building | |
run: yarn build --if-present | |
working-directory: ${{ env.working-directory }} |