Skip to content

Commit 258458d

Browse files
Build & publish from actions.
1 parent 1b7a47f commit 258458d

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,20 @@ on:
55
tags: ["*"]
66

77
jobs:
8-
publish:
8+
cli:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20.x
15+
registry-url: https://registry.npmjs.org
16+
- run: yarn install
17+
- run: npm run build:cli -- --define:process.env.AUTH0_BASE_URL=\"${{ secrets.AUTH0_BASE_URL }}\" --define:process.env.AUTH0_CLIENT_ID=\"${{ secrets.AUTH0_CLIENT_ID }}\"
18+
- run: npm publish --provenance --access public
19+
env:
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21+
extension:
922
runs-on: ubuntu-latest
1023
steps:
1124
- uses: actions/checkout@v4

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ dist
133133
*.vsix
134134

135135
# esbuild output
136-
/*.build.js
136+
/extension.build.js

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Start a Codeye session from the provided terminal profile.
3333

3434
![Terminal Profile](https://raw.githubusercontent.com/codeye-ai/codeye-vscode/main/images/terminal-profile.png)
3535

36-
3736
## Install
3837

3938
Clone the repository, navigate to project folder and run below commands:

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ const { run } = require("./src/codeye");
2727

2828
(async function main(params) {
2929
await run(argv.file, !!argv.reset, !!argv.verbose);
30-
})()
30+
})();

0 commit comments

Comments
 (0)