Skip to content

Commit 0474f4f

Browse files
committed
feat: Use gha for publishing
1 parent 99e276b commit 0474f4f

File tree

2 files changed

+5
-38
lines changed

2 files changed

+5
-38
lines changed

.craft.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
minVersion: '0.8.4'
1+
minVersion: '0.13.0'
22
github:
33
owner: getsentry
44
repo: sentry-javascript
55
changelogPolicy: simple
6+
statusProvider:
7+
name: github
8+
artifactProvider:
9+
name: github
610
preReleaseCommand: bash scripts/craft-pre-release.sh
711
targets:
812
- name: npm

.github/workflows/build.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -90,47 +90,10 @@ jobs:
9090
run: yarn test
9191
- uses: codecov/codecov-action@v1
9292

93-
job_zeus:
94-
name: Zeus
95-
needs: job_build
96-
runs-on: ubuntu-latest
97-
if: "contains(github.ref, 'release/')"
98-
steps:
99-
- uses: actions/checkout@v2
100-
- uses: actions/setup-node@v1
101-
- uses: actions/cache@v2
102-
with:
103-
path: |
104-
${{ github.workspace }}/node_modules
105-
${{ github.workspace }}/packages/**/node_modules
106-
${{ github.workspace }}/packages/**/build
107-
${{ github.workspace }}/packages/**/dist
108-
${{ github.workspace }}/packages/**/esm
109-
key: ${{ runner.os }}-${{ github.sha }}
110-
- run: yarn install
111-
- name: Install Zeus
112-
run: |
113-
yarn global add @zeus-ci/cli
114-
echo "::add-path::$(yarn global bin)"
115-
- name: Upload to Zeus
116-
env:
117-
ZEUS_API_TOKEN: ${{ secrets.ZEUS_API_TOKEN }}
118-
ZEUS_HOOK_BASE: ${{ secrets.ZEUS_HOOK_BASE }}
119-
run: |
120-
zeus job update -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -r $GITHUB_SHA
121-
yarn pack:changed
122-
zeus upload -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -t "application/tar+npm" ./packages/**/*.tgz
123-
zeus upload -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -t "application/javascript" ./packages/browser/build/*
124-
zeus upload -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -t "application/javascript" ./packages/integrations/build/*
125-
zeus upload -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -t "application/javascript" ./packages/apm/build/*
126-
zeus upload -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -t "application/javascript" ./packages/tracing/build/*
127-
zeus job update --status=passed -b $GITHUB_RUN_ID -j $GITHUB_RUN_NUMBER -r $GITHUB_SHA
128-
12993
job_artifacts:
13094
name: Artifacts Upload
13195
needs: job_build
13296
runs-on: ubuntu-latest
133-
if: "contains(github.ref, 'release/')"
13497
steps:
13598
- uses: actions/checkout@v2
13699
- uses: actions/setup-node@v1

0 commit comments

Comments
 (0)