Skip to content

Commit

Permalink
update: github actions config x2
Browse files Browse the repository at this point in the history
  • Loading branch information
BANKA2017 committed Nov 20, 2024
1 parent affd9ee commit e6a5cd5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/npm_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
- name: Checkout
uses: actions/checkout@v4
- name: Yarn install
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: yarn.lock
- name: yarn install and build
- name: Yarn build
run: |
yarn run rebuild
mkdir npm && mv dist LICENSE README.md package.json npm && mv npm/dist/esm/index.browser.d.ts npm/dist/esm/translator.mod.d.ts
Expand Down

0 comments on commit e6a5cd5

Please sign in to comment.