This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
Bump cynic from 3.4.3 to 3.6.1 in /backend #1357
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: Frontend Code | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
# Deduplicate jobs from pull requests and branch pushes within the same repo. | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
name: Frontend Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
- name: Node Action | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
cache: "npm" | |
cache-dependency-path: frontend/ | |
- name: yarn install | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
dir: "frontend" | |
- name: yarn test | |
uses: borales/[email protected] | |
with: | |
cmd: test --passWithNoTests | |
dir: "frontend" | |
lint: | |
# Deduplicate jobs from pull requests and branch pushes within the same repo. | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
name: Lint and Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
- name: Node Action | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
cache: "npm" | |
cache-dependency-path: frontend/ | |
- name: yarn install | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
dir: "frontend" | |
- name: yarn eslint-lint | |
uses: borales/[email protected] | |
with: | |
cmd: eslint-lint | |
dir: "frontend" | |
- name: yarn format | |
uses: borales/[email protected] | |
with: | |
cmd: format | |
dir: "frontend" |