Skip to content

chore(deps): update dependency webpack-cli to v5 #3541

chore(deps): update dependency webpack-cli to v5

chore(deps): update dependency webpack-cli to v5 #3541

Workflow file for this run

name: main
on: [push]
jobs:
run:
name: run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: setup-node
uses: actions/setup-node@master
with:
node-version: 12.x
- name: install
run: yarn
- name: format check
run: yarn format --check
- name: lint
run: yarn lint
- name: build
run: yarn build -p tsconfig.prod.json
- name: test
run: yarn test
- name: commitlint
uses: wagoid/commitlint-github-action@v5.4.5
- name: setting git values
run: |
git config --local user.email "cdaringe@cdaringe.com"
git config --local user.name "cdaringe"
- name: release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
if [[ "$GITHUB_REF" = "refs/heads/master" ]]; then
GITHUB_TOKEN=$GH_TOKEN npx semantic-release --verbose
yarn build:demo
else
echo "skipping release on branch $GITHUB_REF"
fi
- name: gh-pages
uses: JamesIves/github-pages-deploy-action@releases/v3
if: github.ref == 'refs/heads/master'
with:
ACCESS_TOKEN: ${{ secrets.GH_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
CLEAN: true
FOLDER: dist