-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from wildpeaks/features/update-actions
Update test
- Loading branch information
Showing
3 changed files
with
14 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,23 @@ | ||
name: Tests | ||
name: Test | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
- main | ||
- features/** | ||
- dependabot/** | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
jobs: | ||
tests: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download sources | ||
uses: actions/[email protected] | ||
|
||
- name: Use Node LTS | ||
uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 12.x | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Lint sources | ||
run: npm run lint | ||
|
||
- name: Build the themes | ||
run: npm run build | ||
|
||
- name: Run tests | ||
run: npm test | ||
node-version: 14.x | ||
- run: npm install --prefer-offline --no-fund --no-progress | ||
- run: npm run lint | ||
- run: npm run build | ||
- run: npm run test:postbuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters