Skip to content

chore(deps): update netlify-cli to v18 #3325

chore(deps): update netlify-cli to v18

chore(deps): update netlify-cli to v18 #3325

Workflow file for this run

name: πŸ€– CI
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CI: true
jobs:
prettier:
name: πŸ…ΏοΈ Prettier
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.nvmrc'
- name: πŸ“₯ Install deps
run: npm install
- name: πŸ’… Format check
run: npx prettier --cache --check .
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.nvmrc'
- name: πŸ“₯ Install deps
run: npm install
- name: πŸ”¬ Lint
run: npm run lint
typecheck:
name: Κ¦ TypeScript
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.nvmrc'
- name: πŸ“₯ Install deps
run: npm install
- name: πŸ”Ž Type check
run: npm run typecheck
# test:
# name: 🩺 Tests
# runs-on: ubuntu-latest
# steps:
# - name: ⬇️ Checkout repo
# uses: actions/checkout@v3
# - name: βŽ” Setup node
# uses: actions/setup-node@v3
# with:
# cache: npm
# node-version-file: '.nvmrc'
# - name: πŸ“₯ Install deps
# run: npm install
# - name: ⚑ Vitest with coverage
# run: npm run test:coverage
# - name: β˜‚ Codecov
# run: npx codecov
build:
name: πŸ’Ώ Build
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.nvmrc'
- name: πŸ“₯ Install deps
run: npm install
- name: βš™οΈ Build
run: npm run build
release:
name: πŸš€ Release
runs-on: ubuntu-latest
needs: [prettier, lint, typecheck, build]
if: github.ref == 'refs/heads/main'
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.nvmrc'
- name: πŸ“₯ Install deps
run: npm install
- name: πŸ†• Semantic Release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}