Skip to content

feat: Allow modifying the webpack DevServer configuration in `builder… #161

feat: Allow modifying the webpack DevServer configuration in `builder…

feat: Allow modifying the webpack DevServer configuration in `builder… #161

Workflow file for this run

name: build
on: [push, pull_request]
env:
HUSKY: 0
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [14, 16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run tests
run: npm run test
release:
name: Release
runs-on: ubuntu-latest
needs: test
if: github.repository_owner == 'bjoluc' && github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release