Skip to content

ci: adds envs for test callable #48

ci: adds envs for test callable

ci: adds envs for test callable #48

Workflow file for this run

name: Release & Publish
on:
push:
branches:
- main
paths:
- 'src/**'
- '.github/workflows/release.yaml'
permissions:
contents: read
jobs:
tests:
env:
AUTH1: ${{ secrets.AUTH1 }}
AUTH2: ${{ secrets.AUTH2 }}
MERCHANT_ID: ${{ secrets.MERCHANT_ID }}
AZUL_KEY: ${{ secrets.AZUL_KEY }}
AZUL_CERT: ${{ secrets.AZUL_CERT }}
uses: ./.github/workflows/test.yaml

Check failure on line 21 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release & Publish

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 21, Col: 5): Unexpected value 'uses' .github/workflows/release.yaml (Line: 15, Col: 5): Required property is missing: runs-on
release:
name: Release
needs: [tests]
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release