diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dd55761a..d5be72d64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: + branches: - main pull_request: @@ -10,22 +10,22 @@ 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 diff --git a/scripts/run-test.sh b/scripts/run-test.sh old mode 100644 new mode 100755