-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 901 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: publish
on:
push:
branches:
- main
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
services:
localstack:
image: localstack/localstack:s3-latest
ports:
- 4566:4566
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test || true
- run: cat output.txt
# - 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 }}