Unverified Commit 771ed806 authored by Anycodes's avatar Anycodes Committed by GitHub
Browse files

Create publish_npm.yml

parent bd9ee7dd
master anycodes develop docs en-docs env-config feature/core-test feature/master fix-typo fix_argv hotfix new_docs new_spec pkg shl spec-0.0.2 test update_message var_docs 2.1.7 2.1.7-beta.1 2.1.6 2.1.6-beta.2 2.1.6-beta.1 2.1.5 2.1.5-beta.1 2.1.4 2.1.4-beta.1 2.1.3 2.1.3-beta.2 2.1.3-beta.1 2.1.2 2.1.2-beta.2 2.1.2-beta.1 2.1.1 2.1.1-beta.11 2.1.1-beta.10 2.1.1-beta.9 2.1.1-beta.8 2.1.1-beta.7 2.1.1-beta.6 2.1.1-beta.5 2.1.1-beta.4 2.1.1-beta.3 2.1.1-beta.2 2.1.1-beta.1 2.1.0 2.0.268 2.0.104 2.0.104-beta.1 2.0.103 2.0.103-beta.1 2.0.102 2.0.102-beta.4 2.0.102-beta.3 2.0.102-beta.2 2.0.102-beta.1 2.0.101 2.0.101-beta.3 2.0.101-beta.2 2.0.101-beta.1 2.0.100 2.0.100-beta.15 2.0.100-beta.14 2.0.100-beta.13 2.0.100-beta.12 2.0.100-beta.11 2.0.100-beta.10 2.0.100-beta.9 2.0.100-beta.8 2.0.100-beta.7 2.0.100-beta.6 2.0.100-beta.5 2.0.100-beta.4 2.0.100-beta.3 2.0.100-beta.2 2.0.100-beta.1 2.0.99 2.0.99-beta.1 2.0.98 2.0.98-beta.2 2.0.98-beta.1 2.0.97 2.0.97-beta.9 2.0.97-beta.7 2.0.97-beta.3 2.0.97-beta.2 2.0.97-beta.1 2.0.96 2.0.95 2.0.95-beta.4 2.0.95-beta.3 2.0.95-beta.2 2.0.95-beta.1 2.0.94 2.0.93 2.0.93-beta.8 2.0.93-beta.7 2.0.93-beta.6 2.0.93-beta.5 2.0.93-beta.4 2.0.93-alpha.3 2.0.93-alpha.2 2.0.93-alpha.1 2.0.92 2.0.91 2.0.91-alpha.2 2.0.90 2.0.89 2.0.88 2.0.88-alpha.7 2.0.88-alpha.6 2.0.88-alpha.5 2.0.88-alpha-test01 2.0.87 2.0.86 2.0.85 2.0.84 2.0.83 2.0.82 2.0.81 2.0.80 2.0.79 2.0.78 2.0.77 2.0.76 2.0.75 2.0.73 2.0.72 2.0.71 2.0.70 2.0.69 2.0.68 2.0.67 2.0.66 2.0.65 2.0.64 2.0.62 2.0.61 2.0.60 2.0.59 2.0.58 2.0.57 2.0.56 2.0.55 2.0.53 2.0.52 2.0.51 2.0.50 2.0.49 2.0.48 2.0.47 2.0.46 2.0.45 2.0.44 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 2.0.37 2.0.36 2.0.35 2.0.34 2.0.33 2.0.32 2.0.31 2.0.30 2.0.29 2.0.28 2.0.27 2.0.26 2.0.25 2.0.24 2.0.23 2.0.22 2.0.21
No related merge requests found
Showing with 33 additions and 0 deletions
+33 -0
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm ci
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment