Skip to content

chore(deps): update all major dependencies (major) #169

chore(deps): update all major dependencies (major)

chore(deps): update all major dependencies (major) #169

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: 🚧 Build - Node application
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
env:
node_version: 20.x
jobs:
build-extension:
name: 🔌 Build extension
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'chore(release)') && !contains(github.event.head_commit.message, 'chore(version)')"
steps:
- name: ⛙ Checkout branch ${{ github.ref }}
uses: actions/checkout@v4
- name: 🚧 Build
uses: ./.github/actions/build
with:
node_version: ${{ env.node_version }}
mode: extension
- name: 🧹 Linting (eslint)
run: |
# ================= 🧹 Linting (eslint) =================
yarn lint
- name: 🧪 Unit tests
if: github.event_name == 'push' && github.ref == 'ref/head/main'
run: |
# ================= 🧪 Unit tests =================
yarn test:unit
build-web:
name: ☁️ Build web
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'chore(release)') && !contains(github.event.head_commit.message, 'chore(version)')"
steps:
- name: ⛙ Checkout branch ${{ github.ref }}
uses: actions/checkout@v4
- name: 🏗️ Setup Node.js ${{ env.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: 'yarn'
- name: 🚧 Build
uses: ./.github/actions/build
with:
node_version: ${{ env.node_version }}
mode: web
- name: 🧹 Linting (eslint)
run: |
# ================= 🧹 Linting (eslint) =================
yarn lint
- name: 🧪 Unit tests
if: github.event_name == 'push' && github.ref == 'ref/head/main'
run: |
# ================= 🧪 Unit tests =================
yarn test:unit