Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check

on:
pull_request:
branches:
- master
workflow_call:

jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
node-version: "22.x"
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm test
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
name: Continuous deployment
name: Release

on:
push:
branches:
- master

permissions:
contents: write
id-token: write

jobs:
deploy:
check:
uses: ./.github/workflows/check.yml

release:
needs: check
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- uses: actions/setup-node@v2
- uses: actions/setup-node@v6
with:
node-version: "16.x"
node-version: "24.x"
registry-url: "https://registry.npmjs.org"
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Test
run: npm run test

- name: Build
run: npm run build

- name: Bump version
uses: phips28/gh-action-bump-version@master
uses: phips28/gh-action-bump-version@v11.0.7
with:
tag-prefix: ""

- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public --provenance
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
coverage
dist
node_modules
node_modules
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@
Sponsored by <a href="https://formspark.io">Formspark</a>, the simple & powerful form solution for developers.
</p>

[![Continuous deployment](https://github.com/formspark/formtrack/workflows/Continuous%20deployment/badge.svg)](https://github.com/formspark/formtrack/actions?query=workflow%3A%22Continuous+deployment%22)

## About

Marketers use UTM parameters to track the effectiveness of online campaigns across traffic sources and publishing media.
The parameters identify the campaign that refers traffic to a specific website and can be parsed by analytics tools and used to populate reports.
The parameters identify the campaign that drives traffic to a specific website and can be parsed by analytics tools and used to populate reports.

Copying these parameters and injecting them into your form submissions manually is tedious and error-prone, we built Formtrack to automate this process.

Expand Down
10 changes: 0 additions & 10 deletions jest.config.js

This file was deleted.

Loading