Skip to content

Commit

Permalink
ci: use actions/checkout@v3 and runs on ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Dec 8, 2022
1 parent bae50e2 commit b54d551
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ permissions:

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm ci
- run: npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Create a simple Web site
run: mkdir -p deploy_dist && echo -e "<pre>$(date -u)\n$GITHUB_SHA\n$GITHUB_REF</pre>" > deploy_dist/index.html
- uses: ./
Expand Down

0 comments on commit b54d551

Please sign in to comment.