Skip to content

Revive stac-react - v.1.0.0 #59

Revive stac-react - v.1.0.0

Revive stac-react - v.1.0.0 #59

Workflow file for this run

name: Checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
prep:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: Cache node_modules
uses: actions/cache@v5
id: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}
- name: Install
run: corepack enable && yarn install
lint:
needs: prep
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: Cache node_modules
uses: actions/cache@v5
id: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}
- name: Install
run: corepack enable && yarn install
- name: Lint
run: yarn lint
test:
needs: prep
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: Cache node_modules
uses: actions/cache@v5
id: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}
- name: Install
run: corepack enable && yarn install
- name: Test
run: yarn test
build:
needs: prep
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: Cache node_modules
uses: actions/cache@v5
id: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}
- name: Install
run: corepack enable && yarn install
- name: Test
run: yarn test