Bump version to 4.2.2 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Publish to NPM | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
build: | |
name: Build & Publish to NPM | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Checkout submodules | |
run: | | |
git submodule sync | |
git submodule update --init --recursive --force | |
- name: Build Docker Image | |
run: | | |
docker build -t libass/jso . | |
- name: Build Binaries | |
run: | | |
docker run --rm --env LC_ALL=C.UTF-8 -v "${PWD}":/code libass/jso:latest | |
- name: Setup node environment for NPM | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
check-latest: true | |
- name: Publish to NPM | |
run: SKIP_PREPARE=1 npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |