Skip to content

Commit

Permalink
Merge pull request #106 from openzim/add-cd
Browse files Browse the repository at this point in the history
Add CD workflow
  • Loading branch information
kelson42 authored May 19, 2023
2 parents 19b56a4 + e58ff41 commit 9433aa2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish to npmjs.com

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"

- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 0 additions & 6 deletions release.sh

This file was deleted.

0 comments on commit 9433aa2

Please # to comment.