Tabs layout #114
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: Continuous integration | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize] | |
jobs: | |
avoid_reduncy: | |
name: Cancel previous redundant builds | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Cancel previous redundant builds | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
install_dependencies: | |
name: Install dependencies | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: npm i --ignore-scripts | |
build: | |
needs: [install_dependencies] | |
name: Build app | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Build app | |
run: pnpm run build |