Skip to content

Update GitHub actions to the latest version #105

Update GitHub actions to the latest version

Update GitHub actions to the latest version #105

Workflow file for this run

name: main
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: xvfb-run npm test
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npx vsce package
- uses: actions/upload-artifact@v4
with:
name: vscode-remark.vsix
path: '*.vsix'