Skip to content

Commit 44298b8

Browse files
committed
Fold publish.yml into CI.yml for npm trusted publishing
Merge ci.yml and publish.yml into a single CI.yml file so npm trusted publishing can find the publish step. Replace all neon-actions with manual cargo/cross builds and neon CLI steps.
1 parent 0559062 commit 44298b8

2 files changed

Lines changed: 21 additions & 130 deletions

File tree

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
1-
name: publish
1+
name: CI
22

33
on:
44
push:
5-
tags:
6-
- v*
5+
branches:
6+
- main
7+
- v0.5
8+
tags-ignore:
9+
- '**'
10+
pull_request:
711

812
permissions:
913
contents: write
1014
id-token: write
1115

1216
jobs:
17+
test:
18+
name: Integration tests
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Setup node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: npm
27+
- run: npm ci
28+
- run: npm run build
29+
- run: cd integration-tests && npm ci && npm run test
30+
1331
build:
1432
strategy:
1533
fail-fast: false

.github/workflows/ci.yml

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)