Skip to content

chore(deps-dev): bump the lint-tools group with 3 updates #418

chore(deps-dev): bump the lint-tools group with 3 updates

chore(deps-dev): bump the lint-tools group with 3 updates #418

Workflow file for this run

name: Node.js CI/CD
on:
push:
branches:
- 'main'
tags: 'v*'
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Install pnpm
uses: pnpm/action-setup@v4.0.0
- name: Setup Node.js ${{ vars.NODE_VERSION }}
uses: actions/setup-node@v4.1.0
with:
node-version: ${{ vars.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: ESLint
run: pnpm lint:eslint
- name: Prettier
run: pnpm lint:prettier
- name: Type Check
run: pnpm lint:tsc
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Install pnpm
uses: pnpm/action-setup@v4.0.0
- name: Setup Node.js ${{ vars.NODE_VERSION }}
uses: actions/setup-node@v4.1.0
with:
node-version: ${{ vars.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
env:
NUXT_PUBLIC_STUDIO_API_URL: ${{ vars.NUXT_PUBLIC_STUDIO_API_URL }}
NUXT_PUBLIC_STUDIO_TOKENS: ${{ vars.NUXT_PUBLIC_STUDIO_TOKENS }}
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
NODE_OPTIONS: --max-old-space-size=8192
- name: Upload Production Artifact
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-pages-artifact@v3.0.1
with:
path: .output/public
deploy:
name: Deploy
needs: [build]
concurrency:
group: 'pages'
cancel-in-progress: true
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5