Skip to content

fix(deps): update dependency @types/node to v18.19.67 #798

fix(deps): update dependency @types/node to v18.19.67

fix(deps): update dependency @types/node to v18.19.67 #798

Workflow file for this run

name: CI
on:
pull_request:
env:
PATH_BUILD_DOCS: ./apps/docs/.vitepress/dist
PATH_BUILD_LIB: ./packages/lib/dist
CACHE_PATHS_BUILD: |
./apps/docs/.vitepress/dist
./packages/lib/dist
CACHE_KEY_BUILD: build-${{ github.sha }}
# To use Remote Caching, uncomment the next lines and follow the steps below.
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
build:
name: Build
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup
uses: ./.github/workflows/setup
- name: Build
run: pnpm build
- name: Cache build
uses: actions/cache@v3
with:
path: ${{ env.CACHE_PATHS_BUILD }}
key: ${{ env.CACHE_KEY_BUILD }}
lint:
name: Lint
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/workflows/setup
- name: Lint
run: pnpm lint
test:
name: Test
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/workflows/setup
- name: Test
run: pnpm test
# deploy-docs:
# name: Deploy docs from main branch to github pages
# needs: [build, lint, test]
# runs-on: ubuntu-latest
# if: github.ref_type == 'tag'
# environment:
# name: Docs (main)
# url: https://turborepo-nuxt-boilerplate-docs-main.netlify.app/
# steps:
# - uses: actions/cache@v3
# with:
# path: ${{ env.CACHE_PATHS_BUILD }}
# key: ${{ env.CACHE_KEY_BUILD }}
# - uses: nwtgck/actions-netlify@v2.0
# with:
# publish-dir: ${{ env.PATH_BUILD_DOCS }}
# production-deploy: true
# env:
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_DOCS_MAIN }}
# deploy-web-main:
# name: Deploy web app from main branch 🚀
# needs: [build, lint, test]
# runs-on: ubuntu-latest
# if: github.ref_type == 'tag'
# environment:
# name: Web (main)
# url: https://turborepo-nuxt-boilerplate-web-main.netlify.app/
# steps:
# - uses: actions/cache@v3
# with:
# path: ${{ env.CACHE_PATHS_BUILD }}
# key: ${{ env.CACHE_KEY_BUILD }}
# Doesn't work
# - uses: nwtgck/actions-netlify@v1.2
# with:
# publish-dir: ${{ env.PATH_BUILD_WEB }}
# functions-dir: ${{ env.PATH_BUILD_WEB_FUNCTIONS }}
# production-deploy: true
# env:
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_UI_MAIN }}
# Using netlify CLI https://github.com/nuxt/framework/issues/4439
# - name: Deploy to Netlify using their CLI
# uses: netlify/actions/cli@master
# with:
# args: deploy --dir=${{ env.PATH_BUILD_WEB }} --functions=${{ env.PATH_BUILD_WEB_FUNCTIONS }} -p
# env:
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_WEB_MAIN }}
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# deploy-ui-main:
# name: Deploy UI from main branch 🚀
# needs: [build, lint, test]
# runs-on: ubuntu-latest
# if: github.ref_type == 'tag'
# environment:
# name: UI (main)
# url: https://turborepo-nuxt-boilerplate-ui-main.netlify.app/
# steps:
# - uses: actions/cache@v3
# with:
# path: ${{ env.CACHE_PATHS_BUILD }}
# key: ${{ env.CACHE_KEY_BUILD }}
# - uses: nwtgck/actions-netlify@v2.0
# with:
# publish-dir: ${{ env.PATH_BUILD_UI }}
# production-deploy: true
# env:
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_UI_MAIN }}