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 01:58:01 +03:00
|
|
|
- run: ls
|
2022-03-30 01:53:07 +03:00
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: build
|
|
|
|
# if: github.ref_name == 'master'
|
|
|
|
steps:
|
|
|
|
- run: ls
|
|
|
|
# - run: npx semantic-release
|