Skip to content

fix: default settings (#69) #369

fix: default settings (#69)

fix: default settings (#69) #369

Workflow file for this run

name: Main
on:
push:
paths-ignore:
- '**/*.md'
- '**/*.code-*'
- '.vscode/**'
- '.devcontainer.json'
workflow_dispatch:
jobs:
test:
uses: ocadotechnology/codeforlife-workspace/.github/workflows/test-javascript-code.yaml@main
secrets: inherit
with:
# Cannot be set with an env var. Value must match in the release job.
node-version: 18
release:
needs: [test]
concurrency: release
runs-on: ubuntu-latest
# Release if:
# - the repo's owner is Ocado Tech.
# - a change is made to the default branch.
if: |
github.repository_owner_id == 2088731 &&
github.ref_name == github.event.repository.default_branch
steps:
- name: 🚀 Publish Semantic Release
uses: ocadotechnology/codeforlife-workspace/.github/actions/github/release@main
with:
cfl-bot-gh-token: ${{ secrets.CFL_BOT_GH_TOKEN }}