This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
pushy #10
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: Release to npm | |
on: | |
push: | |
paths: | |
- 'package.json' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Deps | |
run: npm i | |
- name: Login to NPM | |
run: npm login xstars_dev ${{ secrets.NODE_AUTH_TOKEN }} | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Release to npm | |
run: npm run release |