Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Action Release #128

Merged
merged 3 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ jobs:
node-version: "latest"
cache: "npm"

- name: Install Dependencies
run: npm install
- name: Install modules and build
run: npm ci && npm run build

- name: Unit Tests
run: npm run test

- name: Check Formatting
run: npm run check

- name: Build Action
run: npm run build

- name: Only build app
uses: ./
with:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish

on:
release:
types: [published, edited]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "latest"
cache: "npm"

- name: Install modules and build
run: npm ci && npm run build

- uses: JasonEtco/build-and-tag-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
.idea
.vscode

Expand Down Expand Up @@ -31,7 +32,7 @@ Temporary Items
.apdisk

### Node ###

node_modules
# Logs
logs
*.log
Expand Down
12 changes: 0 additions & 12 deletions dist/index.d.ts

This file was deleted.

212 changes: 0 additions & 212 deletions dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/acorn

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/changeset

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esbuild

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esparse

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esvalidate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/is-ci

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/js-yaml

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/nanoid

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/prettier

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/resolve

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/rollup

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/smartwrap

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsserver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tty-table

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/uuid

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/vite

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/vite-node

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/vitest

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/which

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/why-is-node-running

This file was deleted.

3 changes: 0 additions & 3 deletions node_modules/.cache/wrangler/user-id.json

This file was deleted.

6 changes: 0 additions & 6 deletions node_modules/.cache/wrangler/wrangler-account.json

This file was deleted.

Loading
Loading