Skip to content

Commit

Permalink
Merge pull request #128 from cloudflare/jacobmgevans/automate-action-…
Browse files Browse the repository at this point in the history
…publish

Automate Action Release
  • Loading branch information
JacobMGEvans authored Aug 8, 2023
2 parents 97e54f3 + dfa59a8 commit 0ab3500
Show file tree
Hide file tree
Showing 5,990 changed files with 47 additions and 1,876,115 deletions.
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

0 comments on commit 0ab3500

Please sign in to comment.