Skip to content

GITBOOK-150: change request with no subject merged in GitBook #4448

GITBOOK-150: change request with no subject merged in GitBook

GITBOOK-150: change request with no subject merged in GitBook #4448

Workflow file for this run

name: Build, test, and deploy on DEV
# Controls when the action will run.
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Prepare:
# The type of runner that the job will run on
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
env:
NEXT_TELEMETRY_DISABLED: 1
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Cache 💾
uses: actions/[email protected]
id: cache-deps
with:
path: |
**/.yarn
**/node_modules/
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies 🔧
uses: actions/setup-node@v1
with:
node-version: '18'
- run: yarn --frozen-lockfile
if: steps.cache-deps.outputs.cache-hit != 'true'
- name: Audit 🛡️
run: yarn audit
continue-on-error: true
- name: Lint 🧹
run: yarn lint
- name: Units tests 🐛
run: yarn test:coverage
- name: Build 📦
run: yarn build
env:
CI: true