Updating GHES workflows

This commit is contained in:
GitHub Actions
2021-07-26 11:15:04 +00:00
parent 920b11c2f0
commit 64a66cc158
9 changed files with 105 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
name: NodeJS with Webpack
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npx webpack