Skip to content

feat: List item allows for images now #130

feat: List item allows for images now

feat: List item allows for images now #130

Workflow file for this run

name: CI
on:
issue_comment:
types: [created]
pull_request:
branches:
- staging
push:
branches:
- main
- staging
permissions:
contents: write
issues: write
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#with:
# fetch-depth: 0 # Fetch the full history
# ref: ${{ github.event.pull_request.base.ref }}
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Environment variables
run: |
echo "${{ vars.ENV_FILE }}" > .env
cat .env
- name: Log environment variables
run: |
while IFS= read -r line; do
echo "$line" | grep -E '^(NEXT_PUBLIC|AUTH_COOKIE_NAME|ENCRYPTION_KEY)' || true
done < .env
- name: Install dependencies
run: yarn install
- name: Run Lint
run: yarn run lint
version:
needs: test
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Set Git identity
run: |
git config --global user.email "olaf@biffnewmedia.com"
git config --global user.name "nolafs"
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release