refactor: Replace actions/checkout@v3
with actions/checkout@v4
#474
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: test-action | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Deploy to Deno Deploy | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests | |
entrypoint: hello.ts | |
import-map: ./import_map.json | |
- name: Deploy with single include | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests | |
entrypoint: include_exclude.ts | |
include: include_exclude.ts | |
- name: Deploy with comma-separated include | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action | |
entrypoint: tests/include_exclude.ts | |
include: foo, tests/include_exclude.ts,bar | |
- name: Deploy with comma-separated exclude | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests | |
entrypoint: include_exclude.ts | |
exclude: import_bomb1,import_bomb2 | |
- name: Deploy with multiline exclude | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests | |
entrypoint: include_exclude.ts | |
exclude: | | |
import_bomb1 | |
import_bomb2 | |
- name: Deploy combine include and exclude | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action | |
entrypoint: tests/include_exclude.ts | |
include: tests | |
exclude: | | |
tests/import_bomb1 | |
tests/import_bomb2 | |
- name: Always exclude node_modules directory | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests/always_exclude_node_modules | |
entrypoint: main.ts | |
- name: Always exclude nested node_modules directory | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests | |
entrypoint: always_exclude_node_modules/main.ts | |
- name: data URL entrypoint | |
uses: ./ | |
with: | |
project: happy-rat-64 | |
root: action/tests | |
entrypoint: "data:,Deno.serve(() => new Response())" |