Skip to content

Commit

Permalink
Merge pull request #11 from slidoapp/release_workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso authored Oct 15, 2024
2 parents 8a51cbb + 7f68008 commit 5c69921
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: release

permissions:
contents: read
id-token: write

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest

environment: production

steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: npm ci
run: npm ci

- name: npm publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit 5c69921

Please sign in to comment.