mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 11:06:32 +09:00
21 lines
428 B
YAML
21 lines
428 B
YAML
name: Node.js Package
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '14'
|
|
registry-url: 'https://registry.npmjs.org'
|
|
- run: npm publish
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|