Skip to content

Commit b39792d

Browse files
algolia-botmillotp
andcommitted
chore: restore deleted files
algolia/api-clients-automation#693 Co-authored-by: Pierre Millot <[email protected]>
1 parent bf97c7c commit b39792d

File tree

6 files changed

+857
-22769
lines changed

6 files changed

+857
-22769
lines changed

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release packages
2+
3+
on:
4+
push:
5+
branches:
6+
- next
7+
8+
jobs:
9+
release:
10+
name: Publish
11+
runs-on: ubuntu-20.04
12+
if: "startsWith(github.event.head_commit.message, 'chore: release')"
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Install Node
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version-file: .nvmrc
22+
cache: yarn
23+
24+
- name: Install JavaScript dependencies
25+
shell: bash
26+
run: yarn install
27+
28+
- name: Build clients
29+
shell: bash
30+
run: yarn build:all
31+
32+
- name: Publish to NPM
33+
shell: bash
34+
run: yarn release:publish
35+
env:
36+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)