Skip to content
Merged
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
23 changes: 10 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on: [push]

jobs:
compile:
runs-on: ci
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
registry-url: "https://npm.corti.app"
node-version: "22"
# with:
# node-version: "18.18.0"

- name: Setup yarn
run: npm install -g yarn
Expand All @@ -25,16 +24,15 @@ jobs:
run: yarn build

test:
runs-on: ci
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
registry-url: "https://npm.corti.app"
node-version: "22"
# with:
# node-version: "18.18.0"

- name: Setup yarn
run: npm install -g yarn
Expand All @@ -51,7 +49,7 @@ jobs:
publish:
needs: [compile, test]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ci
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
Expand All @@ -60,9 +58,8 @@ jobs:

- name: Set up node
uses: actions/setup-node@v4
with:
registry-url: "https://npm.corti.app"
node-version: "22"
# with:
# node-version: "18.18.0"

- name: Setup yarn
run: npm install -g yarn
Expand All @@ -76,7 +73,7 @@ jobs:
- name: Publish to npm
run: |
publish() {
npx -y npm@latest publish --registry https://registry.npmjs.org "$@"
npx -y npm@latest publish "$@"
}
if [[ ${GITHUB_REF} == *alpha* ]]; then
publish --access public --tag alpha
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ concurrency:

jobs:
integration-tests:
runs-on: ci
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v3
with:
registry-url: "https://npm.corti.app"
node-version: "22"

- name: Install dependencies
run: yarn
Expand Down