Skip to content

Commit

Permalink
CI: Use concurrency, updated checkout to v4, restyling steps
Browse files Browse the repository at this point in the history
  • Loading branch information
fantonangeli committed Mar 5, 2024
1 parent 5ccff99 commit c652912
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,35 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: e2e-tests
strategy:
matrix:
node-version: [latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g @google/clasp

- name: Install Clasp
run: npm install -g @google/clasp

- run: npm ci

- name: Decrypt .clasprc
run: echo "$DOT_CLASPRC" >> $HOME/.clasprc.json
env:
DOT_CLASPRC: ${{ secrets.DOT_CLASPRC }}

- run: npm run test

- run: npm run e2e

0 comments on commit c652912

Please sign in to comment.