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

fee #27

Merged
merged 2 commits into from
Oct 30, 2023
Merged

fee #27

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
5 changes: 5 additions & 0 deletions .changeset/spicy-socks-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"panora-sdk": minor
---

change api text
29 changes: 17 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
name: Release

permissions:
contents: write
pull-requests: write
name: release

on:
push:
Expand All @@ -11,16 +7,22 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions: {}

jobs:
release:
name: Release
permissions:
contents: write # to create release (changesets/action)
issues: write # to post issue comments (changesets/action)
pull-requests: write # to create pull request (changesets/action)

timeout-minutes: 20

runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 16.x
uses: actions/setup-node@v3
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x

Expand All @@ -31,10 +33,13 @@ jobs:
run: pnpm --recursive install --no-frozen-lockfile

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
version: pnpm run version
commit: "chore: new release"
title: "chore: new release candidate"

env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"test": "echo \"Error: no test specified\"",
"prepare": "husky install",
"release": "pnpm --recursive run lint && pnpm --recursive run build && pnpm --recursive run test"
"version": "changeset version",
"release": "pnpm --recursive run lint && pnpm --recursive run build && pnpm --recursive run test && changeset publish"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type ContactBody = {

export default class PanoraApiClient {

static readonly API_URL = "test-api";
static readonly API_URL = "test-app";

constructor(){}

Expand Down
Loading