Skip to content

Merge pull request #1 from matter-labs/renovate/configure #9

Merge pull request #1 from matter-labs/renovate/configure

Merge pull request #1 from matter-labs/renovate/configure #9

Workflow file for this run

name: Release
on:
push:
branches:
- main
- alpha
- beta
- '[0-9]+.*'
jobs:
release:
name: Release
runs-on: [matterlabs-ci-runner]
environment: production release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and build
run: npm ci && npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_NPM_MATTERLABS_AUTOMATION_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_NPM_MATTERLABS_AUTOMATION_TOKEN }}
run: npx semantic-release