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
2 changes: 2 additions & 0 deletions .github/workflows/ctest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: ctest
permissions:
contents: read

on:
- pull_request
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: examples
permissions:
contents: read

on:
- pull_request
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: jest
permissions:
contents: read

on:
- pull_request
- push

env:
EM_CACHE_FOLDER: 'emsdk-cache'
NODE_LATEST_VERSION: '24'

jobs:
jest:
Expand Down Expand Up @@ -38,3 +41,41 @@ jobs:

- name: jest
run: npm run all

npm:
runs-on: ubuntu-latest
needs: jest

if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags')"

steps:
- uses: actions/checkout@v6

- name: recovery tag information
run: git fetch --tags --force

- uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_LATEST_VERSION }}
cache: 'npm'

- uses: actions/cache@v4
with:
path: ${{ env.EM_CACHE_FOLDER }}
key: jest-em-cache-${{ runner.os }}-${{ env.NODE_LATEST_VERSION }}

- uses: pyodide/setup-emsdk@v15
with:
actions-cache-folder: ${{ env.EM_CACHE_FOLDER }}

- name: version
run: npm version from-git

- name: dependencies
run: npm ci

- name: build
run: npm run build

- name: publish
run: npm publish
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: pre-commit
permissions:
contents: read

on:
- push
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- pull_request
- push

env:
PYTHON_LATEST_VERSION: '3.13'

jobs:
pytest:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,9 +49,10 @@ jobs:
- name: recovery tag information
run: git fetch --tags --force

- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: ${{ env.PYTHON_LATEST_VERSION }}
cache: 'pip'

- name: install cibuildwheel
run: pip install cibuildwheel
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tsds",
"name": "atsds",
"type": "module",
"main": "dist/tsds.mjs",
"types": "dist/tsds.d.mts",
Expand Down