Skip to content

chore: refactor platform parsing logic #322

chore: refactor platform parsing logic

chore: refactor platform parsing logic #322

Workflow file for this run

name: v3
on:
push:
branches:
- v3
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
npm:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Get Node version from Node manifest
run: echo "NODE_VER=$(curl -s https://nwjs.io/versions | jq -r ".versions[0].components.node")" >> $GITHUB_ENV
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VER }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Publish to npm
uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}
tag: stable