Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Create Llama
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
run-llama
Create Llama
Commits
2aaf99e2
Commit
2aaf99e2
authored
1 year ago
by
Marcus Schiesser
Browse files
Options
Downloads
Patches
Plain Diff
chore: add changeset release script
parent
1d78202e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/e2e.yml
+11
-2
11 additions, 2 deletions
.github/workflows/e2e.yml
.github/workflows/lint_on_push_or_pull.yml
+6
-4
6 additions, 4 deletions
.github/workflows/lint_on_push_or_pull.yml
.github/workflows/release.yml
+32
-0
32 additions, 0 deletions
.github/workflows/release.yml
with
49 additions
and
6 deletions
.github/workflows/e2e.yml
+
11
−
2
View file @
2aaf99e2
...
...
@@ -24,36 +24,45 @@ jobs:
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up python ${{ matrix.python-version }}
uses
:
actions/setup-python@v4
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install Poetry
uses
:
snok/install-poetry@v1
with
:
version
:
${{ env.POETRY_VERSION }}
-
uses
:
pnpm/action-setup@v2
-
name
:
Setup Node.js ${{ matrix.node-version }}
uses
:
actions/setup-node@v4
with
:
node-version
:
${{ matrix.node-version }}
cache
:
"
pnpm"
-
uses
:
pnpm/action-setup@v3
-
name
:
Install dependencies
run
:
pnpm install
-
name
:
Install Playwright Browsers
run
:
pnpm exec playwright install --with-deps
working-directory
:
.
-
name
:
Build create-llama
run
:
pnpm run build
working-directory
:
.
-
name
:
Install
run
:
pnpm run pack-install
working-directory
:
.
-
name
:
Run Playwright tests
run
:
pnpm run e2e
env
:
OPENAI_API_KEY
:
${{ secrets.OPENAI_API_KEY }}
working-directory
:
.
-
uses
:
actions/upload-artifact@v3
if
:
always()
with
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/lint_on_push_or_pull.yml
+
6
−
4
View file @
2aaf99e2
...
...
@@ -13,17 +13,19 @@ jobs:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
pnpm/action-setup@v2
with
:
version
:
latest
-
name
:
Setup Node.js
uses
:
actions/setup-node@v4
with
:
node-version-file
:
"
.nvmrc"
cache
:
"
pnpm"
-
uses
:
pnpm/action-setup@v3
-
name
:
Install dependencies
run
:
pnpm install
-
name
:
Run lint
run
:
pnpm run lint
-
name
:
Run Prettier
run
:
pnpm run format
This diff is collapsed.
Click to expand it.
.github/workflows/release.yml
0 → 100644
+
32
−
0
View file @
2aaf99e2
name
:
Release
on
:
push
:
branches
:
-
main
concurrency
:
${{ github.workflow }}-${{ github.ref }}
jobs
:
release
:
name
:
Release
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout Repo
uses
:
actions/checkout@v4
-
name
:
Setup Node.js
uses
:
actions/setup-node@v4
with
:
node-version-file
:
"
.nvmrc"
cache
:
"
pnpm"
-
uses
:
pnpm/action-setup@v3
-
name
:
Install dependencies
run
:
pnpm install
-
name
:
Create Release Pull Request
uses
:
changesets/action@v1
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment