Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
work on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
simonDos committed Jan 31, 2024
1 parent 16b0a43 commit d24a320
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ name: CI

on:
push:
branches:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2-beta
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- name: Cache npm dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-cache-
- name: Install npm dependencies
run: npm install
- name: Process templates
run: npm run template:process
- name: Run tests
run: npm run test:ci
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2-beta
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Cache npm dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-cache-
- name: Install npm dependencies
run: npm install
- name: Process templates
run: npm run template:process
- name: Run tests
run: npm run test:ci
Empty file modified scripts/run-test.sh
100644 → 100755
Empty file.

0 comments on commit d24a320

Please sign in to comment.