From ec0aab7de2474b9592c177c19e5c839c74196394 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Wed, 23 Jun 2021 12:47:46 -0400 Subject: update actions for main branch --- .github/workflows/compressed-size.yml | 8 ++------ .github/workflows/main.yml | 28 +++++++++++++--------------- 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml index ed9f872..958fd22 100644 --- a/.github/workflows/compressed-size.yml +++ b/.github/workflows/compressed-size.yml @@ -4,11 +4,7 @@ on: [pull_request] jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: preactjs/compressed-size-action@v2 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: actions/checkout@v2 + - uses: preactjs/compressed-size-action@v2 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b758474..7b73b7d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,25 +3,23 @@ name: CI on: pull_request: branches: - - '**' + - "**" push: branches: - - master + - main jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm test - env: - CI: true + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true -- cgit v1.2.3