Skip to content

Commit

Permalink
pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
ricsam committed Dec 12, 2024
1 parent a3ea4ec commit 4b338e8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: CI=false bun test
# - run: bun run build
# - run: |
# echo '@ricsam:registry=https://registry.npmjs.org' >> .npmrc
# echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
# echo '//registry.npmjs.org/:always-auth=true' >> .npmrc
# - name: changeset publish
# run: npx changeset publish --access=public --registry=https://registry.npmjs.org/
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: bun test
- run: bun run build
- run: |
echo '@ricsam:registry=https://registry.npmjs.org' >> .npmrc
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
echo '//registry.npmjs.org/:always-auth=true' >> .npmrc
- name: changeset publish
run: npx changeset publish --access=public --registry=https://registry.npmjs.org/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion src/backends/s3/mock-s3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ describe('s3Fs with mocked client', () => {
});

afterEach(() => {
jest.clearAllMocks();
spy.mockRestore();
jest.restoreAllMocks();
});
Expand Down

0 comments on commit 4b338e8

Please sign in to comment.