Skip to content

chore(deps): update dependency nuxt to v3.13.2 #426

chore(deps): update dependency nuxt to v3.13.2

chore(deps): update dependency nuxt to v3.13.2 #426

Workflow file for this run

name: Build, Test and Deploy with FTP
on: push
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: pnpm/action-setup@v3
with:
version: 9.3.0
- uses: actions/setup-node@master
with:
node-version: 20.x
- name: pnpm module install
run: pnpm install --frozen-lockfile
- name: nuxt generate
run: pnpm run generate
- uses: actions/upload-artifact@master
with:
name: build-artifact
path: .output/public/
test-cypress:
name: Cypress Tests
runs-on: ubuntu-20.04
needs:
- build
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: pnpm/action-setup@v3
with:
version: 9.3.0
- uses: actions/setup-node@master
with:
node-version: 20.x
- uses: actions/download-artifact@master
with:
name: build-artifact
path: .output/public/
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npx serve .output/public
browser: chrome
deploy:
needs:
- build
- test-cypress
runs-on: ubuntu-20.04
environment:
name: production
url: https://bassadin.de/
# Deploy only on a tag
if: startsWith(github.ref, 'refs/tags/v')
name: Deploy to FTP Server
steps:
- uses: actions/download-artifact@master
with:
name: build-artifact
path: .output/public/
- name: Deploy to FTP Server
uses: SamKirkland/FTP-Deploy-Action@8e83cea8672e3fbcbb9fdafff34debf6ae4c5f65 # v4.3.5
with:
server: ha01s018.org-dns.com
username: bassadin_root_website
password: ${{ secrets.FTP_Password }}
protocol: ftps
local-dir: .output/public/
security: strict