Files

29 lines
503 B
YAML
Raw Permalink Normal View History

2021-07-20 10:43:58 +05:30
name: NodeJS with Webpack
2021-06-24 10:51:42 +05:30
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
2021-06-24 11:00:38 +05:30
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
2021-06-24 10:51:42 +05:30
with:
2021-06-24 11:00:38 +05:30
node-version: ${{ matrix.node-version }}
2021-06-24 10:51:42 +05:30
2021-06-24 11:00:38 +05:30
- name: Build
2021-06-24 10:51:42 +05:30
run: |
npm install
npx webpack