mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00: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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- '*'
|
||||||
- '!gh-action'
|
|
||||||
- '!webpack'
|
- '!webpack'
|
||||||
- '!docs'
|
- '!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