Skip to content

Prepare release 0.22.0 (#82) #14

Prepare release 0.22.0 (#82)

Prepare release 0.22.0 (#82) #14

Workflow file for this run

# Generated from Workflow.pkl. DO NOT EDIT.
name: Build (main)
'on':
push:
branches:
- main
tags-ignore:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
submodules: recursive
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: 24.x
- name: Install emsdk
run: |-
git clone https://github.com/emscripten-core/emsdk
cd emsdk
./emsdk install 2.0.24
./emsdk activate 2.0.24
echo "${GITHUB_WORKSPACE}/emsdk" >> $GITHUB_PATH
echo "${GITHUB_WORKSPACE}/emsdk/upstream/emscripten" >> $GITHUB_PATH
- name: Set up Pkl
run: |-
mkdir /tmp/pkl
curl -L "https://github.com/apple/pkl/releases/download/0.30.0/pkl-linux-amd64" -o /tmp/pkl/pkl
chmod +x /tmp/pkl/pkl
echo '/tmp/pkl' >> $GITHUB_PATH
- run: npm ci
- run: npm run build
- run: npm test
- run: npm run lint
- run: npm run package-only
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: pkl-vscode-build-artifacts
path: .dist/vscode/*.*
test-format-license-headers:
name: hawkeye-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
persist-credentials: false
fetch-depth: 0
- run: git config --global --add safe.directory $(pwd)
- run: hawkeye check --config licenserc.toml --fail-if-unknown
container:
image: ghcr.io/korandoru/hawkeye@sha256:e0abf8dbfaeeeba1249679d662d9fb404b1dcdb041c6093ea1f7a6edb7d89319