Skip to content

fix: create post, if update is received and it doesn't exist already #36

fix: create post, if update is received and it doesn't exist already

fix: create post, if update is received and it doesn't exist already #36

Workflow file for this run

name: Run Tests
# This workflow is triggered on pushes to the repository.
on:
push:
workflow_dispatch:
env:
NO_COLOR: true
CI: 1
NEXT_TELEMETRY_DISABLED: 1
jobs:
build:
name: Test
timeout-minutes: 30
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
# Note: setup yarn is based on https://github.com/actions/setup-node/issues/182#issuecomment-978176609
- name: Setup yarn
run: |
mkdir -p ~/.local/bin
curl -fsSL \
https://github.com/yarnpkg/yarn/releases/download/v1.22.18/yarn-1.22.18.js > ~/.local/bin/yarn
chmod +x ~/.local/bin/yarn
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Turnstyle
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies
run: yarn install
- name: Run Lint
run: yarn lint
- name: Run Tests
run: yarn test