-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 985 Bytes
/
ci_local.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
# This is a basic workflow to help you get started with Actions
name: CI-LOCAL
on:
push:
branches: [main]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
setup:
name: preparing
runs-on: ubuntu-latest
continue-on-error: false
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ secrets.NODE_VERSION }}
cache: 'yarn'
- name: install packages using yarn.lock
env:
NODE_AUTH_TOKEN: ${{ secrets.WF_NPM_TOKEN }}
run: |
yarn --frozen-lockfile
- name: Release
env:
NPM_TOKEN: ${{ secrets.WF_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.WF_GITHUB_TOKEN }}
run: |
yarn semantic-release