finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
556 bytes
|
| Line | |
|---|
| 1 | name: Release
|
|---|
| 2 | on:
|
|---|
| 3 | push:
|
|---|
| 4 | branches:
|
|---|
| 5 | - master
|
|---|
| 6 | jobs:
|
|---|
| 7 | release:
|
|---|
| 8 | name: Release
|
|---|
| 9 | runs-on: ubuntu-18.04
|
|---|
| 10 | steps:
|
|---|
| 11 | - name: Checkout
|
|---|
| 12 | uses: actions/checkout@v1
|
|---|
| 13 | - name: Setup Node.js
|
|---|
| 14 | uses: actions/setup-node@v1
|
|---|
| 15 | with:
|
|---|
| 16 | node-version: 16
|
|---|
| 17 | - name: Install dependencies
|
|---|
| 18 | run: npm ci
|
|---|
| 19 | - name: Test
|
|---|
| 20 | run: npm run test
|
|---|
| 21 | - name: Release
|
|---|
| 22 | env:
|
|---|
| 23 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|---|
| 24 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|---|
| 25 | run: npx semantic-release
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.