Skip to content

Commit f16b44d

Browse files
authored
Merge pull request #12 from APIOpsCycles/ci-change-verify
the previous github actions workflow was trying to publish the create-apiops package to npm, and it failed, also there wasn't any pull request checks, so anything failing would only come up in merge
2 parents 6997f2a + 44d8482 commit f16b44d

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

.github/workflows/release-create-apiops.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: Release create-apiops
1+
name: Verify create-apiops
22

33
on:
4+
pull_request:
45
push:
56
branches:
67
- main
78
workflow_dispatch:
89

910
permissions:
10-
contents: write
11-
pull-requests: write
11+
contents: read
1212

1313
jobs:
14-
release:
14+
verify:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
@@ -35,14 +35,3 @@ jobs:
3535
- name: Run create-apiops scaffold integration test
3636
run: npm run test:create-apiops
3737

38-
- name: Version and publish create-apiops
39-
uses: changesets/action@v1
40-
with:
41-
version: npx changeset version
42-
commit: "chore(release): version create-apiops"
43-
title: "chore(release): version create-apiops"
44-
createGithubReleases: true
45-
publish: npm publish --workspace packages/create-apiops --access public
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)