Skip to content

Commit

Permalink
Merge pull request #2 from brookesb91/development/add-webpack
Browse files Browse the repository at this point in the history
🔧 Add webpack build & workflow
  • Loading branch information
brookesb91 authored Feb 16, 2021
2 parents 0293929 + a3b2cf4 commit dac6866
Show file tree
Hide file tree
Showing 4 changed files with 1,368 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
branches:
- master
name: Release
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install, Build & Pack
run: |
npm i
npm run build
cd dist
npm pack
- name: Push To Release
uses: ncipollo/release-action@v1.8.0
with:
artifacts: "dist/dismissible-1.0.0.tgz"
token: ${{ secrets.token }}
tag: v1.0.0
Loading

0 comments on commit dac6866

Please sign in to comment.