Skip to content

Commit

Permalink
build: github action build
Browse files Browse the repository at this point in the history
  • Loading branch information
seven332 committed Oct 24, 2023
1 parent 9148e38 commit ff86839
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Build

on:
push:
Expand All @@ -7,17 +7,30 @@ on:
branches: ['main']

jobs:
test:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-node@v3
with:
node-version: 'lts/Hydrogen'
cache: 'npm'

- uses: mymindstorm/setup-emsdk@v11
with:
version: 3.1.47
actions-cache-folder: 'emsdk-cache'

- run: npm ci
- run: npm run test
- run: npm run build
- run: npm run package

- uses: actions/upload-artifact@v3
with:
name: sksl.vsix
path: sksl.vsix

0 comments on commit ff86839

Please sign in to comment.