Skip to content

1.14.0

1.14.0 #11

Workflow file for this run

name: Publish to npmjs.com
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-22.04
environment: release
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: "18.x"
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build and push Docker image
uses: openzim/docker-publish-action@v10
with:
image-name: openzim/mwoffliner
tag-pattern: /^v([0-9.]+)$/
latest-on-tag: true
restrict-to: openzim/mwoffliner
registries: ghcr.io
credentials: |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
repo_description: auto
repo_overview: auto