Skip to content

fix(package:readme): add extension to readme #41

fix(package:readme): add extension to readme

fix(package:readme): add extension to readme #41

Workflow file for this run

### Generated with ChatGPT maybe has errors
name: Build and Release
on:
push:
branches:
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '21.6.2'
- name: Setup
run: |
npm install
npm ci --cache .npm
id: cache-deps
- name: Generate openapi
run: |
npm run openapi:bundle
npm run openapi:types
- name: Test types
run: |
npm run test:ts
- name: Units tests
run: |
npm run test:units:coverage
- name: Functional tests
run: |
npm run test:functionals
- name: Build server package
run: |
npm run server:build
id: cache-server-build
- name: Build package
run: |
npm run package:build
id: cache-package-build
- name: Release
run: |
cd package
npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Token for generate tags on the repo
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # Token for publish on npmjs.com