Skip to content

Commit

Permalink
add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrc authored and pamfilos committed Dec 8, 2023
1 parent b45e0ea commit d625850
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish

on:
release:
types: [published]

jobs:
build:
name: Build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 18.x

- name: Install
run: yarn

- name: Build
run: yarn build

- name: Publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.CERN_SIS_NPM }}

0 comments on commit d625850

Please sign in to comment.