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

Alpha #3

Merged
merged 11 commits into from
Apr 30, 2024
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
45 changes: 45 additions & 0 deletions .github/workflows/alpha-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: publish

on:
push:
branches:
- alpha
env:
REPOSITORY_PATH: https://${{secrets.ACCESS_TOKEN}}@github.com/
# GITHUB_TOKEN: ${{secrets.ACCESS_TOKEN}}
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: init
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@gmail.com"
- name: pull-code
uses: actions/checkout@v2
- name: install-node
uses: actions/setup-node@v1
with:
node-version: 20.x
- name: install-dependencies
run: |
yarn
- name: test
run: |
yarn test
- name: build
run: |
yarn build
- id: publish
name: publish
uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
package: ./dist/package.json
tag: alpha
- if: steps.publish.outputs.old-version != steps.publish.outputs.version
run: |
echo "[${{ steps.publish.outputs.type }}]Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
git tag v${{steps.publish.outputs.version}}
git push origin v${{steps.publish.outputs.version}}
4 changes: 1 addition & 3 deletions jest.import.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ const config: JestConfigWithTsJest = {
'ts-jest',
{
tsconfig: 'tsconfig.spec.json',
astTransformers: {
before: ['./test/util/jest-test-transformer-loader.js'],
},

},
],
},
Expand Down
207 changes: 0 additions & 207 deletions jest.transform.config.ts

This file was deleted.

Loading
Loading