chore(deps-dev): bump webpack-dev-middleware from 6.1.1 to 6.1.2 #5066
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: setup NPM | |
run: npm set @LouisBarranqueiro:registry https://npm.pkg.github.com/ && npm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: npm run test:coverage | |
- name: Report tests coverage to Codecov | |
run: npx codecov --token=${{ secrets.CODECOV_TOKEN }} | |
- name: Build package | |
run: npm pack | |
- name: Build demo website | |
run: npm run build-demo | |
- name: Deploy demo website | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/github-pages-deploy-action@v4.4.3 | |
with: | |
branch: gh-pages | |
folder: demo/dist | |
clean: true # Automatically remove deleted files |