Skip to content

Skipping failures on Warnings #37

Skipping failures on Warnings

Skipping failures on Warnings #37

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CI: true
PUBLIC_URL: /vf-react
jobs:
# test:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [18.x] # Updated Node.js version
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# - name: Install dependencies
# run: yarn install
# - name: Run tests
# run: yarn test --watchAll=false --ci
deploy:
# needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
strategy:
matrix:
node-version: [18.x] # Updated Node.js version
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: yarn install
- name: Build page
run: CI='' yarn build
env:
PUBLIC_URL: /vf-react
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY_150525 }}
publish_dir: ./build