Skip to content

Update workflow versioning #185

Update workflow versioning

Update workflow versioning #185

Workflow file for this run

name: Actions 😎
on:
pull_request:
push:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: yarn
- run: yarn lint
- run: yarn test
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
# - run: yarn build --quiet && git diff --quiet dist || { echo "dist should be auto generated" ; exit 62; }
requestManualActivationFile:
name: Request manual activation file 🔑
runs-on: ubuntu-latest
steps:
# Checkout repository (required to test local actions)
- name: Checkout repository
uses: actions/checkout@v4
# Request manual activation file
- name: Request manual activation file
id: getManualLicenseFile
continue-on-error: true
uses: ./
- name: Verify error
run: |
if [ "${{ steps.getManualLicenseFile.outcome }}" != "failure" ]; then
echo "Expected failure, got ${{ steps.getManualLicenseFile.outcome }}"
exit 1
fi