Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

fix: install and build all subcomponents before tests (#15) #13

fix: install and build all subcomponents before tests (#15)

fix: install and build all subcomponents before tests (#15) #13

Workflow file for this run

name: "Release"
on:
push:
branches:
- main
paths-ignore:
- "CHANGELOG.md"
- "README.md"
- "CONTRIBUTING.md"
jobs:
code-validation:
uses: ./.github/workflows/code_validation.yml
release:
needs: [code-validation]
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
issues: write
pull-requests: write
packages: write
env:
HUSKY: 0
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: Install dependencies
run: |
yarn install
- name: Build Typescript Definitions
run: |
yarn tsc
- name: Build
run: |
yarn build
- name: Configure npm authentication
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Bump and Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release