Skip to content

add more icons

add more icons #285

Workflow file for this run

name: Build, Test and Deploy with FTP
on: push
jobs:
eslint-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: pnpm/action-setup@v2
with:
version: 8.6.11
- name: pnpm install
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm run eslint:scan
cypress-test:
name: Cypress tests
runs-on: ubuntu-20.04
needs:
- eslint-check
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.6.11
- name: Cypress run
uses: cypress-io/[email protected]
with:
build: pnpm build
start: pnpm preview
component: false
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@v2
if: always()
with:
name: cypress-videos
path: cypress/videos
nuxt-generate:
name: Yarn build
runs-on: ubuntu-20.04
needs:
- eslint-check
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.6.11
- uses: actions/setup-node@master
with:
node-version: 18
- 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/
# Deploy if this is the master branch
deploy:
needs:
- cypress-test
- nuxt-generate
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master'
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/[email protected]
with:
server: ha01s018.org-dns.com
username: bassadin_root_website
password: ${{ secrets.FTP_Password }}
protocol: ftps
local-dir: .output/public/
security: strict