Skip to content

Bump typescript from 5.2.2 to 5.4.2 #156

Bump typescript from 5.2.2 to 5.4.2

Bump typescript from 5.2.2 to 5.4.2 #156

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Check Format
id: npm-format-check
run: npm run format:check
- name: Lint
id: npm-lint
run: npm run lint
- name: Test
id: npm-ci-test
run: npm run ci-test
test-action:
name: GitHub Actions Test
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test Local Action
id: test-action
uses: ./
with:
go-version: '1.21.0'
gop-version: '1.1.7'
- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.gop-version }}"
test-versions:
name: Gop Versions Test
strategy:
matrix:
gop-version: ['1.1.7', '', 'latest', 'main', 'v1.0']
include:
- gop-version: '1.1.7'
gop-version-verified: 'true'
- gop-version: ''
gop-version-verified: 'true'
- gop-version: 'latest'
gop-version-verified: 'true'
- gop-version: 'main'
gop-version-verified: 'false'
- gop-version: 'v1.0'
gop-version-verified: 'false'
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test Gop Version
id: test-gop-version
uses: ./
with:
gop-version: ${{ matrix.gop-version }}
- name: Test version verified
env:
VERIFIED: ${{ matrix.gop-version-verified }}
GOP_VERSION: ${{ matrix.gop-version }}
run: |
echo "gop-version: $GOP_VERSION"
echo "gop-version-verified: $VERIFIED"
if [[ "$VERIFIED" != "$VERIFIED" ]]; then
echo "gop-version-verified does not match expected value"
echo "expected: $VERIFIED, got: $VERIFIED"
exit 1
fi