-
-
Notifications
You must be signed in to change notification settings - Fork 333
36 lines (33 loc) · 907 Bytes
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: master-workflow
on:
push:
branches:
- master
env:
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider
jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- run: yarn --frozen-lockfile --network-timeout 1000000
- run: yarn build:ci
- name: Deploy to translate surge.sh
uses: dswistowski/surge-sh-action@v1
with:
domain: altair-gql-translate.surge.sh
project: ./packages/altair-app/dist
login: ${{ secrets.surge_login }}
token: ${{ secrets.surge_token }}
# todo:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: "TODO to Issue"
# uses: alstr/todo-to-issue-action@v4
# id: todo