build(workflows): remove sentry and docker builds as its not needed

chore(package.json): remove homepage as it was interferring with build setup of create-react-app (#18)

chore(package): upgrade to 0.3.0 and add  npm total downloads badge
This commit is contained in:
Aakansha Doshi
2020-06-16 13:57:11 +05:30
parent 06a29835ec
commit 2d7657b1f5
4 changed files with 2 additions and 63 deletions
-20
View File
@@ -1,20 +0,0 @@
name: Publish Docker
on:
push:
branches:
- master
jobs:
publish-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: excalidraw/excalidraw
tag_with_ref: true
tag_with_sha: true
-41
View File
@@ -1,41 +0,0 @@
name: New Sentry Production Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1.0.0
- name: Setup Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install and build
run: |
npm ci
npm run build:app
env:
CI: true
- name: Install Sentry
run: |
curl -sL https://sentry.io/get-cli/ | bash
- name: Create new Sentry release
run: |
export SENTRY_RELEASE=$(sentry-cli releases propose-version)
sentry-cli releases new $SENTRY_RELEASE --project $SENTRY_PROJECT
sentry-cli releases set-commits --auto $SENTRY_RELEASE
sentry-cli releases files $SENTRY_RELEASE upload-sourcemaps --no-rewrite ./build/static/js/ --url-prefix "~/static/js"
sentry-cli releases finalize $SENTRY_RELEASE
sentry-cli releases deploys $SENTRY_RELEASE new -e production
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
+1
View File
@@ -2,6 +2,7 @@
![npm](https://img.shields.io/npm/v/excalidraw)
![npm](https://img.shields.io/npm/dw/excalidraw)
![npm](https://img.shields.io/npm/dt/excalidraw)
Excalidraw exported as a component to directly embed in your projects
+1 -2
View File
@@ -1,6 +1,6 @@
{
"name": "excalidraw",
"version": "0.2.0",
"version": "0.3.0",
"main": "dist/excalidraw.min.js",
"files": [
"dist/excalidraw.min.js",
@@ -94,7 +94,6 @@
"webpack": "4.42.0",
"webpack-cli": "3.3.11"
},
"homepage": "https://github.com/excalidraw/excalidraw-embed#excalidraw",
"bugs": "https://github.com/excalidraw/excalidraw-embed/issues",
"husky": {
"hooks": {