Skip to content

Commit

Permalink
Release from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alex35mil committed Feb 28, 2024
1 parent 80aa63b commit 990cdc9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ jobs:
name: ${{ matrix.os }}
path: _build/default/ppx/bin/bin.exe

prepare_release:
release:
needs:
- build_macos
- build_linux
- build_windows
name: Prepare release
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')

Expand All @@ -276,6 +276,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 16.x
registry-url: "https://registry.npmjs.org"

- name: Download macOS x86 artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -324,3 +325,11 @@ jobs:
with:
name: release
path: _release

- name: Publish
if: success()
run: |
cd _release
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 990cdc9

Please sign in to comment.