Skip to content

Merge pull request #169 from Stackla/add-tile-type #540

Merge pull request #169 from Stackla/add-tile-type

Merge pull request #169 from Stackla/add-tile-type #540

Workflow file for this run

name: CI
permissions:
contents: write
packages: read
actions: write
id-token: write
env:
GH_TOKEN: ${{ github.token }}
on:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
push:
branches:
- master
jobs:
build:
name: Build and Test
env:
NODE_AUTH_TOKEN: ${{secrets.STACKLA_BOT_GITHUB_TOKEN}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 23.6.0
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm test
trigger_deploy:
if: github.ref == 'refs/heads/master'
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: trigger deploy
run: gh workflow run release --ref master -F environment=staging