mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 20:24:42 +12:00
ci: add webpack workflow
This commit is contained in:
parent
fe71cecc2a
commit
e7a961781c
2 changed files with 25 additions and 1 deletions
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
|
@ -4,7 +4,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- '!gh-action'
|
||||
- '!webpack'
|
||||
- '!docs'
|
||||
|
||||
|
|
25
.github/workflows/webpack.yml
vendored
Normal file
25
.github/workflows/webpack.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue