Skip to content

Update webpack.yml

Update webpack.yml #13

Workflow file for this run

name: NodeJS with Webpack
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
if: github.event.commits[0].author.name != 'GitHubActions'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn
yarn build:prod
- name: Configure git
run: |
git config user.name "GitHubActions"
git config user.email "<>"
- name: Vesion Patch
run: |
yarn version --patch
- name: Update git
run: |
git push
git push --tags