Skip to content

Commit

Permalink
pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
furudean committed Jul 5, 2024
1 parent 771f9fc commit a696854
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
'on':
push:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: '${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
"LuqueDaniel.languague-renpy"
],
"scripts": {
"lint": "eslint .",
"lint": "eslint . --ignore-pattern .vscode-test/",
"pretest": "npm run lint",
"test": "vscode-test",
"package": "vsce package",
Expand Down

0 comments on commit a696854

Please sign in to comment.