Skip to content

Commit

Permalink
ci: test beta
Browse files Browse the repository at this point in the history
  • Loading branch information
msclock committed Mar 21, 2024
1 parent 8a951a4 commit a109343
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,26 @@ jobs:
permissions:
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write
pull-requests: write
# needs: [pass]

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: List local git tags
run: git tag -l

- name: Pull remote tags
run: git fetch --tags

- run: git tag -l

- run: cat .releaserc.js

- uses: actions/setup-node@v4
with:
Expand All @@ -134,4 +146,4 @@ jobs:
- name: Release
run: npx semantic-release --debug
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 2 additions & 9 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
module.exports = {
branches: [
{ name: 'beta', prerelease: true,channels: ['beta'] },
{ name: 'alpha', prerelease: true },
'+([0-9])?(.{+([0-9]),x}).x',
'main',
'master',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
],
dryRun: false,
plugins: [
Expand Down

0 comments on commit a109343

Please sign in to comment.