mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
ci: add webpack workflow
This commit is contained in:
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 }}
|
||||||
Reference in New Issue
Block a user