mirror of
https://github.com/Expand-sys/ccash-client-js
synced 2026-03-22 20:37:09 +11:00
25 lines
656 B
YAML
25 lines
656 B
YAML
name: Publish
|
|
on:
|
|
push:
|
|
branches:
|
|
- stable
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '15.x'
|
|
registry-url: 'https://npm.pkg.github.com'
|
|
scope: '@simplestream'
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: '**/node_modules'
|
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
|
- run: yarn --no-progress
|
|
- run: yarn build
|
|
- run: yarn release
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|