Skip to content

fix: include namespace in cache key generation for cachedFunction #37

fix: include namespace in cache key generation for cachedFunction

fix: include namespace in cache key generation for cachedFunction #37

Workflow file for this run

name: Semantic Versioning
on:
push:
branches:
- main # or master, or whichever branch you want this to run on
jobs:
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
uses: actions/checkout@v4
- name: Install LTS node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install Yarn
run: npm install -g yarn
- name: Enable Corepack
run: corepack enable
- name: Set Yarn to V4
run: yarn set version berry
- name: Install Dependencies
run: yarn install
# Authenticate with ghcr.io
- name: Authenticate with ghcr.io
run: echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Semantic Release
run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_REPO: ${{ github.server_url }}/${{ github.repository }}
DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}