Skip to content

Merge pull request #12 from zentered/dependabot/github_actions/action… #16

Merge pull request #12 from zentered/dependabot/github_actions/action…

Merge pull request #12 from zentered/dependabot/github_actions/action… #16

Workflow file for this run

name: Publish
permissions:
contents: write
deployments: write
issues: read
pull-requests: write
on:
push:
branches:
- 'main'
jobs:
test:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm test
env:
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_NAMESPACE_IDENTIFIER:
${{ secrets.CLOUDFLARE_NAMESPACE_IDENTIFIER }}
- run: npx semantic-release