ci: add webpack workflow

This commit is contained in:
iCrawl 2019-09-03 16:04:36 +02:00
parent fe71cecc2a
commit e7a961781c
No known key found for this signature in database
GPG key ID: E41A6DB922EC2CFE
2 changed files with 25 additions and 1 deletions

View file

@ -4,7 +4,6 @@ on:
push:
branches:
- '*'
- '!gh-action'
- '!webpack'
- '!docs'

25
.github/workflows/webpack.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Webpack
on:
push:
branches:
- '*'
- '!webpack'
- '!docs'
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: install node v12
uses: actions/setup-node@master
with:
node-version: 12
- name: npm install
run: npm install
- name: deploy webpack
uses: discordjs/action-webpack@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}