diff options
| author | Jason Miller <[email protected]> | 2021-06-23 12:47:46 -0400 |
|---|---|---|
| committer | Jason Miller <[email protected]> | 2021-06-23 12:47:55 -0400 |
| commit | ec0aab7de2474b9592c177c19e5c839c74196394 (patch) | |
| tree | 5417ed474a4bd44d6a3d34dcca9d28788d774553 | |
| parent | c580f81a4c5fd99a01c5529427e0858abca63de3 (diff) | |
update actions for main branch
| -rw-r--r-- | .github/workflows/compressed-size.yml | 8 | ||||
| -rw-r--r-- | .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 |
