Skip to content

Bump webpack from 5.90.2 to 5.94.0 #83

Bump webpack from 5.90.2 to 5.94.0

Bump webpack from 5.90.2 to 5.94.0 #83

# Build job will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Portfolio CI/CD
on:
push:
branches: ['**']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn build
deploy:
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git config --global user.name "${{ github.triggering_actor }}"
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
git remote set-url origin "https://${{ github.triggering_actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/Prajwal-P/prajwal-p.git"
yarn install
yarn deploy