Skip to content

Commit

Permalink
Restore normal CD content
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jan 13, 2025
1 parent 3b4939b commit d6db2c4
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Publish to npmjs.com and ghcr.io
on:
release:
types: [published]
workflow_dispatch:

jobs:
build:
Expand All @@ -14,17 +13,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

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

# - run: npm ci
- run: npm ci

# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build and push Docker image
uses: openzim/docker-publish-action@v10
Expand Down

0 comments on commit d6db2c4

Please sign in to comment.