Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
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
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

138 changes: 0 additions & 138 deletions .eslintrc.js

This file was deleted.

15 changes: 0 additions & 15 deletions .github/issue_template.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/pull_request_template.md

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/nodejs.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: 🚀

concurrency:
group: post-merge-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
branches:
- main
types:
- closed

permissions:
contents: read
packages: write

env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-and-publish:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: MontyD/package-json-updated-action@1.0.1
id: version-check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- if: steps.version-check.outputs.has-updated
uses: pnpm/action-setup@v4

- if: steps.version-check.outputs.has-updated
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: pnpm

- if: steps.version-check.outputs.has-updated
name: install
run: pnpm install --frozen-lockfile

- if: steps.version-check.outputs.has-updated
name: build
run: pnpm run build

- if: steps.version-check.outputs.has-updated
name: publish
run: pnpm publish --no-git-checks
55 changes: 55 additions & 0 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: 🧪

concurrency:
group: pre-merge-${{ github.ref }}
cancel-in-progress: true

on: [pull_request]

jobs:
title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pre-merge:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: pnpm

- name: install
run: pnpm install --frozen-lockfile

- name: lint
run: pnpm exec oxlint

- name: format
run: pnpm exec oxfmt --check

- name: build
run: pnpm build

- name: test (canada)
run: LANG=en_CA TZ=America/Vancouver pnpm test

- name: test (usa)
run: LANG=en_US TZ=America/Los_Angeles pnpm test

- name: test (kenya)
run: LANG=sw_KE TZ=Africa/Nairobi pnpm test

- name: test (kiribati)
run: LANG=en_KI TZ=Pacific/Kiritimati pnpm test

- name: test (japan)
run: LANG=jp_JP TZ=Asia/Tokyo pnpm test
10 changes: 3 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
node_modules/
bower_components/
.idea
.vscode
*.log
coverage
.nyc_output
dist/
coverage
dist/
node_modules/
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.2.0
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
@taskworld:registry=https://npm.pkg.github.com
File renamed without changes.
8 changes: 0 additions & 8 deletions .prettierignore

This file was deleted.

27 changes: 0 additions & 27 deletions .vscode/launch.json

This file was deleted.

22 changes: 0 additions & 22 deletions bower.json

This file was deleted.

Loading
Loading