Skip to content

Commit

Permalink
fixed publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
hubert-de-lalye committed Oct 29, 2024
1 parent 1bd3d1f commit 442297b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for accurate versioning
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v3
Expand All @@ -36,11 +36,6 @@ jobs:
always-auth: true
auth-token: ${{ secrets.NPM_TOKEN }}

- name: Install Yarn
run: |
npm install --global yarn;
yarn set version 3.1.0 --yarn-path
- name: Install dependencies
working-directory: ./sdk
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default defineConfig({
test: {
environment: "happy-dom",
globalSetup: "./vitest.global-setup.js",
exclude: ["./autotests", "node_modules"],
exclude: ["./autotests", "node_modules", "./sdk"],
setupFiles: ["@vitest/web-worker"],
},
});

0 comments on commit 442297b

Please sign in to comment.