Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit fcd34c1

Browse files
author
Guy Marriott
committed
Remove dist files, ignore them, add action to release package instead
1 parent d71712e commit fcd34c1

14 files changed

+33
-7913
lines changed

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Enter a valid semver version'
8+
required: true
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v2
16+
with:
17+
node-version: '14.x'
18+
registry-url: 'https://registry.npmjs.org'
19+
- name: Setup Git
20+
run: |
21+
git config --local user.email "[email protected]"
22+
git config --local user.name "GitHub Action"
23+
- run: 'yarn install'
24+
- run: 'yarn build-lib'
25+
- run: 'npm version ${{ github.event.inputs.version }}'
26+
- run: 'npm publish'
27+
- run: 'git push origin master;git push --tags'

.github/workflows/push-bundle.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ yarn-error.log*
1111

1212
# Stats file generated when building with rollup
1313
stats.html
14+
15+
# Dist files are built during publish, but aren't part of the repository
16+
dist

dist/ChecLineChart.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

dist/ChecLineChart.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/ChecWysiwyg.js

Lines changed: 0 additions & 80 deletions
This file was deleted.

dist/ChecWysiwyg.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/_commonjsHelpers-5fd94a8f.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/_commonjsHelpers-5fd94a8f.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)