Skip to content

Commit

Permalink
Merge branch 'master' of github.com:twa-dev/sdk into v7.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurStam committed Sep 7, 2024
2 parents fb30b99 + 3bb4273 commit 4c74588
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Prerelease
on:
release:
types: [prereleased]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish
name: Prerelease
on:
release:
types: [published]
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4c74588

Please sign in to comment.