feather/.github/workflows/ci.yml

20 lines
359 B
YAML
Raw Normal View History

2022-03-30 01:35:23 +03:00
name: CI
2022-03-30 01:53:07 +03:00
on: push
2022-03-30 01:35:23 +03:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2022-03-30 01:40:42 +03:00
- name: Use Node.js 16.x
2022-03-30 01:35:23 +03:00
uses: actions/setup-node@v3
with:
2022-03-30 01:40:42 +03:00
node-version: 16.x
2022-03-30 01:35:23 +03:00
cache: 'npm'
- run: npm ci
- run: npm run all
2022-03-30 02:02:42 +03:00
- name: Release
if: github.ref_name == 'master'
run: npx semantic-release