Skip to content

chore(deps): bump softprops/turnstyle from 1 to 2 #303

chore(deps): bump softprops/turnstyle from 1 to 2

chore(deps): bump softprops/turnstyle from 1 to 2 #303

Workflow file for this run

name: main
on:
workflow_dispatch:
push:
pull_request:
# This allows one Build workflow run to interrupt another
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
COVERALLS_REPO_TOKEN: '${{ secrets.COVERALLS_REPO_TOKEN }}'
COVERALLS_GIT_COMMIT: '${{ github.sha }}'
COVERALLS_GIT_BRANCH: '${{ github.ref }}'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Turnstyle
uses: softprops/turnstyle@v2
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Yarn Cache 💾
id: yarn-cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules
- name: Install Node.js 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
uses: actions/setup-node@v3
with:
node-version: '14'
check-latest: true
- run: yarn install
if: steps.yarn-cache.outputs.cache-hit != 'true'
- name: Build 👷
run: |
yarn test
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
run: yarn run semantic-release