diff options
Diffstat (limited to '.github/workflows/webpack.yml')
| -rw-r--r-- | .github/workflows/webpack.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml new file mode 100644 index 0000000..d8bf90e --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,25 @@ +name: webpack + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm build + run: | + npm ci + npm run build --if-present + env: + CI: true
\ No newline at end of file |
