Skip to content

update retention to 7 days (#46) #22

update retention to 7 days (#46)

update retention to 7 days (#46) #22

Workflow file for this run

name: Publish the shared library to npmjs

Check failure on line 1 in .github/workflows/pubshared.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pubshared.yml

Invalid workflow file

(Line: 16, Col: 5): Unexpected value 'retention-days'
on:
workflow_dispatch:
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
defaults:
run:
working-directory: lib/packages/docusaurus-shared
runs-on: ubuntu-latest
retention-days: 7
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: corepack enable
- run: yarn install --immutable
- run: yarn build --if-present
- run: yarn test
- run: npm publish