Skip to content

v0.7.0 release

v0.7.0 release #34

Workflow file for this run

name: Test extension
on:
push:
branches:
- main
pull_request:
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
cancel-in-progress: true
defaults:
run:
# fail-fast using bash -eo pipefail. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
shell: bash
permissions:
contents: read
jobs:
test-extension:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
# Recommended configuration to harden the runner, created in the report after the initial run
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
registry.npmjs.org:443
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
npm install --no-save
- name: Format check and lint
run: |
npm run format-check
npm run lint
- name: Build
run: |
npm run build
- name: Test
run: |
npm run test