mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
23 lines
460 B
YAML
23 lines
460 B
YAML
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
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|