Skip to content

Commit

Permalink
Merge pull request #17266 from Snuffleupagus/typestest-workflow
Browse files Browse the repository at this point in the history
Move `gulp typestest` to a separate GitHub Actions workflow
  • Loading branch information
timvandermeij committed Nov 12, 2023
2 parents e0e5be2 + d89ca97 commit af3147c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/types_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Types tests
on: [push, pull_request]
permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [lts/*]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Gulp
run: npm install -g gulp-cli

- name: Install other dependencies
run: npm install

- name: Run types tests
run: gulp typestest
5 changes: 1 addition & 4 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2437,7 +2437,4 @@ gulp.task("externaltest", function (done) {
done();
});

gulp.task(
"ci-test",
gulp.series(gulp.parallel("externaltest", "unittestcli"), "typestest")
);
gulp.task("ci-test", gulp.parallel("externaltest", "unittestcli"));

0 comments on commit af3147c

Please sign in to comment.