Skip to content

feat: configure internal address with envvar #5

feat: configure internal address with envvar

feat: configure internal address with envvar #5

Workflow file for this run

name: Release
on: push
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn install
yarn build
- name: Test
run: |
yarn test:ci
release:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: test
if: |
contains(github.ref, 'main')
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn install
yarn build
env:
NPM_TOKEN: ${{secrets.DEPLOY_SYSTEMS_TOKEN}}
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}