Skip to content

Merge pull request #1 from qatium/update-node #12

Merge pull request #1 from qatium/update-node

Merge pull request #1 from qatium/update-node #12

Workflow file for this run

name: Main
env:
NODE_VERSION: "20.10.0"
on:
workflow_dispatch:
push:
paths-ignore:
- '*.md'
branches:
- main
- master
pull_request:
paths-ignore:
- '*.md'
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Format
run: npm run fmtcheck
integration:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Turnstyle
uses: ./ # Uses an action in the root directory
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy
run: sleep 180