feather/.github/workflows/ci.yml

23 lines
460 B
YAML
Raw Normal View History

2022-03-30 02:07:02 +03:00
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- run: npm ci
- run: npm run all
- name: Release
if: github.ref_name == 'master'
run: npx semantic-release
2022-03-30 02:15:31 +03:00
env:
2022-03-30 02:30:25 +03:00
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2022-03-30 02:15:31 +03:00
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}