Pin github actions #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (C) 2023 Intel Corporation | |
# SPDX-License-Identifier: MIT | |
# | |
name: Build extension | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Build tcf | |
run: | | |
cd tcf | |
npm ci | |
npm run compile | |
npm pack | |
- name: Build vscode-tcf-debug | |
run: | | |
cd vscode-tcf-debug | |
npm ci | |
npm run lint | |
npm run package | |
npm pack | |
- name: Save VSIX | |
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v3.0 | |
with: | |
name: vscode-tcf-debug.vsix | |
path: vscode-tcf-debug/*vsix | |
- name: Run tests | |
run: | | |
cd tests | |
npm ci | |
npm run compile | |
npm run unittest |