Skip to content

Follow the selected branch if the official branch is empty when the fast forward button is pressed #3586

Follow the selected branch if the official branch is empty when the fast forward button is pressed

Follow the selected branch if the official branch is empty when the fast forward button is pressed #3586

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the devel branch
push:
branches: [devel]
pull_request:
branches: [devel]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
# 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
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules
- name: yarn install
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: yarn install
- name: Eslint
run: npm run lint
- name: Prettier check
run: npm run prettier:check
- name: Type check
run: npm run type-check
- name: Build
run: npm run build
- name: Tests
run: npm run test
- uses: streetsidesoftware/cspell-action@v6
with:
files: src/**/*.{ts,tsx}