Skip to content

0.0.4

0.0.4 #13

Workflow file for this run

name: CI
env:
DEBUG: napi:*
APP_NAME: source-code-diagnosis
MACOSX_DEPLOYMENT_TARGET: '10.13'
permissions:
contents: write
id-token: write
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Publish
run: |
npm config set provenance true
TAG=${{github.ref_name}}
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
cat ~/.npmrc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}