Skip to content

wip: writing GH action #5

wip: writing GH action

wip: writing GH action #5

Workflow file for this run

name: ci-tag-publish
on:
push:
branches:
- ci/github_actions_integration
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get tag from Git
id: git_tag
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Publish to NPM
working-directory: ./
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm install
npm run deploy:core:dry-run