-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (39 loc) · 924 Bytes
/
release-dev.yml
File metadata and controls
48 lines (39 loc) · 924 Bytes
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
37
38
39
40
41
42
43
44
45
46
47
48
name: Release Dev
on:
push:
branches:
- lts
permissions:
contents: read
id-token: write
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
CI: true
APP_STAGE: 'development'
jobs:
release-dev:
name: Release
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.AWS_OIDC_ARN_DEV }}
role-session-name: AWS_OIDC_ARN_DEV
aws-region: ${{ secrets.AWS_REGION }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Node
uses: actions/setup-node@v3
with:
node-version: '22.x'
- name: Install
run: yarn install --immutable
- name: Build Storybook
run: |
yarn build:storybook
- name: Deploy
run: |
yarn deploy