generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (43 loc) · 1.85 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version-file: .nvmrc
- run: |
corepack yarn install
- run: |
corepack yarn run test
# test: # make sure the action works on a clean machine without building
# runs-on: ubuntu-latest
# permissions:
# id-token: write
# steps:
# - uses: actions/checkout@v3
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v2
# with:
# role-to-assume: ${{ secrets.AWS_ROLE }}
# aws-region: us-east-1
# - uses: ./
# with:
# version: 'v3.1.1'
# product-id: ${{ secrets.AWS_MARKETPLACE_PRODUCT_ID }}
# registry: '709825985650.dkr.ecr.us-east-1.amazonaws.com/nginx/nginx-plus-ingress:3.1.1-mktpl'
# release-notes: 'https://github.com/nginxinc/kubernetes-ingress/releases/tag/v3.1.1'
# description: |
# Best-in-class traffic management solution for services in Amazon EKS.
# This is the official implementation of NGINX Ingress Controller (based on NGINX Plus) from NGINX.
# usage-instructions: |
# This container requires Kubernetes and can be deployed to EKS.
# Review the installation instructions https://docs.nginx.com/nginx-ingress-controller/installation/ and utilize the deployment resources available https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments
# Use this image instead of building your own.