Skip to content

refactor: upgrade react and styled-components version #127

refactor: upgrade react and styled-components version

refactor: upgrade react and styled-components version #127

name: Lint, Test, Build
on:
pull_request:
branches:
- 'master'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-test-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Lint
run: yarn lint --since=origin/master
- name: Build
run: yarn build
- name: Test
run: yarn test --since=origin/master