Skip to content

chore: use indexing syntax #20

chore: use indexing syntax

chore: use indexing syntax #20

Workflow file for this run

name: cognito-pull
on:
pull_request:
paths:
- cognito/**
jobs:
build-cognito:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: cognito
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: cognito
- name: Test
run: wing test
working-directory: cognito
- name: Pack
run: wing pack
working-directory: cognito